HTML basic tags
In HTML, the more basic tags are mainly used for titles, paragraphs and line breaks.
The best way to learn HTML is to follow examples.
##Text title
HTML uses tags from <h1> to <h6> to define the title of the text, from Big to small. Each text title is its own paragraph.<h1>A</h1>
##<h2>B</h2><h3>C</h3> <h4>D</h4>
<h5>E</h5>
<h6>F</h6>
Paragraph division
#<p>Looking at Hefei, which areas can be classified currently? Going to the rich area?... This website will launch a series of reports to find the rich area in Hefei. </p>
<p>Cities are the focus of most people’s lives, especially for high-end people. ...It is also a veritable "rich area" in Hefei. </p>
Use <p> and </p> to separate paragraphs in HTML.
Line break
##By using < br>This tag can wrap lines without creating a new paragraph. The <br> tag is an empty tag and has no closing tag, so <br></br> is incorrectly written.
HTML comments##In HTML files, you can write code Comments explain your code so that you and others can better understand it in the future.
Comments can be written between <!-- and -->. Browsers ignore comments, and you won't see your comments in the HTML body.
<!-- This is a comment -->##Some small suggestions
HTML files will automatically cut off excess spaces. No matter how many spaces you add, they are all counted as one space. A blank line is also considered a space.
Some Tags can separate the text into a paragraph without using <p></p> to segment it. For example, title tags such as <h1></h1>.
HTML link A link refers to a connection relationship from a web page to a target. The target can be another web page, a different location on the same web page, or a picture, email address, file, or even an application. HTML links are defined through the <a> tag. <a href="http://www.php.cn">This is a link</a> Note: Specify the link address in the href attribute. (You will learn more about properties later in this tutorial). HTML images HTML images are defined through the <img> tag. <img src="w3school.jpg" width="104" height="142" /> Note: The name and dimensions of the image are provided as properties. These tags will be introduced in detail in later chapters