02 character entities and comments

 

 Wrap

 

 12: Output multiple spaces with character entities

 

 

 

. 1  <! DOCTYPE HTML > 
2  < HTML > 
. 3      < head > 
. 4          < Meta charset = "UTF-. 8" > 
. 5          <-! Here indicates the title of the page Note: annotation, so other people read the code -> 
. 6          < title > this is my first website </ title > 
7      </ head > 
8      < body > 
9          <-! write comment -> 
10          the Hello world! !
11          <-! Requirements: output in the browser a tag: <br /> ->
         Page ; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp outputs a & lt; br / & gt;  
13 is          <-! Newline -> 
14          page < br /> output one < br /> 
15      </ body > 
16  </ HTML >

 

Guess you like

Origin www.cnblogs.com/mushaoxizi/p/11443378.html
Recommended