Home > Article > Web Front-end > HTML basics: basic HTML tags
The best way to learn HTML is to experiment while learning.
HTML Title(Recommended learning: HTML Getting Started Tutorial)
HTML Title (Heading) is passed
Example
<h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>
HTML paragraph
HTML paragraph is defined through the
tag.
Example
<p>This is a paragraph.</p> <p>This is another paragraph.</p>
HTML link
HTML link is defined through the tag.
Example
<a href="http://www.w3school.com.cn">This is a link</a>
Comments: Specify the address of the link in the href attribute.
HTML Images
HTML images are defined through the tag.
Example
<img src="w3school.jpg" width="104" height="142" />
Note: The name and dimensions of the image are provided as attributes.
The above is the detailed content of HTML basics: basic HTML tags. For more information, please follow other related articles on the PHP Chinese website!