Getting started with HTML-elements

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.