<! DOCTYPEHTML><HTMLlang="en"><Head> <Metacharset="UTF-8"> <title>HTML5 Study Notes</title></Head><Bodybgcolor="#90ee90">Elements of the 1.HTML5<BR/><BR/>Element refers to all the code from the start tag to the end tag<BR/><BR/>The h tag determines the size of the content font in the label. The smaller the label the larger the font 1~6<H1>Title H1</H1> <H2>Title H2</H2> <H3>Title H3</H3> <h4>Title H4</h4> <h5>Title H5</h5> <h6>Title H6</h6>The P label represents the paragraph. Play the role of line break<BR/>The BR tag is also a newline, but the No line spacing after the BR wraps. P tag has<BR/>2.HTML5 element syntax<BR/><BR/>Element Tag properties: Written in the beginning of the label<H1align="Center">Center Display</H1> <P>BgColor set background color in body, background is set background picture</P> <P>target = "..." In... Open the label _blank new form _self The original page opens</P> <ahref="Linktest.html"target="_blank">Click here to enter the link test</a> <P></P> <imgsrc="Source/img_20150528_100001.jpg"></Body></HTML>
HTML5 Learning Note 1 element tag properties