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)