HTML basic structure and common tags

Basic structure of HTML

HTML--> browser --> Page head Body title metaCopy the code

Common labels:

1, paragraph p **<p>... </p>** 2, h1~h6 **<h1> < / h1 > 3, line feed br * * * * * * < br / > 4, line hr < hr / > * * * * 5, bold strong * * < strong >... </strong>** 6, **<em>... </em>** 7, special symbol: > < > >; **&gt; ** less than &lt; **&lt; * * quotes & quot; **&quot; * * Spaces & have spent **&nbsp; ** Copyright &copy; **&copy; 支那Copy the code

Images: img

<img SRC ="path" Alt ="text" title="text" width="x" height="y" /> Alt: text displayed when the photo is not displayed Title: text displayed when the mouse is hovering Width,height: unit: pixel :pxCopy the code

hyperlinks

** Page links: </a> <a href="path" target=" target "> </a> href Target: link on which window open anchor link: * * * * < a name = "XXX" > < / a > (first do a tag) < a href = "# XXX" > < / a > (find the tag) * * across pages anchor link: </a> </a>Copy the code