Editor:
notepad++ (PC), TextEdit (MAC)
Nested HTML elements (elements with (contain) elements)
The following contains three HTML elements
<body>
<p</p>
</body>
Title (the larger the data title, the smaller the headline)-block-level elements Lt;h2>......
* 1, only for the title, do not want to bold or enlarge the text arbitrarily use the title element, the search engine will be written according to the title of the content of the crawl contents of the index
2. After use, there will be a blank line before and after the title element
Comments (not displayed to the front of the page) <!---->
Paragraph--block-level elements
<p></p>--line break
HTML Text formatting instances
<br/>: line break, is the closing element is spelled correctly, compared to <br> more long-term (〈br/〉 future trend)
<pre></pre>: Spaces and line breaks are preserved, typically used to represent computer code
<del/></del>: Strikethrough
<u></u>: Underline
Getting started with HTML-elements