1-html basic configuration specifications prepared

<! DOCTYPE HTML > 
< HTML > 
<-! # Front-end development of systematic tutorials, 
# including html, css, pc-side and mobile terminal layout techniques, JavaScript, 
# jQuery, JS special effects, ajax front and back office interactions, etc. 
# present the most commonly used is xhtml1.0 and html5.0 
#html document specification 
    #xhtml developed a written specification document, html can be partial compliance, but also comply with all the 
    # 1 label recommended all lower case 
    # 2. attribute quotes 
    # 3 The label should be closed, paired labels should appear in pairs, plus a single end tag "/" 
    # 4.img plus alt attribute tag   -> 
< head > 
    <-! Meta tags: statement -> 
    < Meta charset = "UTF-. 8" > 
    < title > HTML title, paragraph </ title > 
</head>
<! - 1. tag suggestions all lowercase -> 
< body > 
    <! - 2. Attribute quotes -> 
    < div class = 'AA' ID = 'DIV1' > </ div > 
    <! - - 3. the label should be closed, paired labels should appear in pairs, the end of a single label plus "/" -> 
    < br > 
    < br /> 
    Welcome to my page! 
    <-! 4.img plus alt attribute tag -> 
    < img src = "../../ aircraft war /image/beijing.jpg" alt = "landscape plan" > 

</ body >     

</ HTML >

 

Guess you like

Origin www.cnblogs.com/qtclm/p/11408833.html