html-Study Notes (Common tags)

Source: Internet
Author: User
Tags html comment

In this blog, I'll talk about tags in HTML.

HTML Title

The title (Heading) is defined by tags such as

<H1>This is Heading 1</H1><H2>This is Heading 2</H2><H3>This is Heading 3</H3><h4>This is heading 4</h4><h5>This is heading 5</h5><h6>This is heading 6</h6>

The effect is as follows:

HTML Horizontal Line

Label

HTML annotations

You can insert comments into HTML code, which improves readability and makes your code easier to understand. The browser ignores comments and does not display them. Here is an example of an HTML comment:

<!--This is a comment-

HTML Common Tags

<body> define a document's theme

<!--> Define annotations.

HTML Paragraph

<p> tags define the paragraphs in an HTML document.

< P > This was a paragraph</p><p>This is another Paragraph</p>

<p> is a block-level element, which means that the browser automatically adds a blank line around the paragraph. The label <br/> is a label that is specifically used for wrapping lines in HTML.

< P > This are</>a para</>graph with line breaks< /P>

Although the line can be displayed intact, the graph with the line breaks will be displayed on a separate line due to the use of this row of labels <br/>.

The <p> tag defines the paragraphs in the HTML document.

<br/> tags in an HTML document are inserted into a single folded line (line wrapping)

html-Study Notes (Common tags)

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.