File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -2118,7 +2118,36 @@ The `<small>` HTML element represents side-comments and small print, like copyri
21182118 <b><a href="#">↥ back to top</a></b> 
21192119</div >
21202120
2121- #### Q. *** How do you serve a page with content in multiple languages?***   
2121+ ## Q. *** How do you serve a page with content in multiple languages?***   
2122+ 
2123+ The ** lang**  attribute specifies the language of the element\' s content.
2124+ 
2125+ ** Example** 
2126+ 
2127+ ``` html 
2128+ <!DOCTYPE html>
2129+ <html  lang =" en" 
2130+  <head >
2131+  <meta  charset =" UTF-8" 
2132+  <title >HTML5 Multilanguage Page</title >
2133+  </head >
2134+  <body >
2135+  <h2 >English</h2 >
2136+  <p  lang =" en" p >
2137+  
2138+  <h2 >French</h2 >
2139+  <p  lang =" fr" p >
2140+  
2141+  <h2 >Spanish</h2 >
2142+  <p  lang =" es" p >
2143+  </body >
2144+ </html >
2145+ ``` 
2146+ 
2147+ <div  align =" right " >
2148+  <b><a href="#">↥ back to top</a></b> 
2149+ </div >
2150+ 
21222151#### Q. *** What is the difference between ` <section> `  and ` <div> ` ?***   
21232152#### Q. *** Where and why is the rel="noopener" attribute used?***    
21242153#### Q. *** Can a web page contain multiple ` <header> `  elements? What about ` <footer> `  elements?***   
                         You can’t perform that action at this time. 
           
                  
0 commit comments