HTML basics: basic HTML tags

(*-*)浩
Release: 2019-08-20 16:54:41
Original
2156 people have browsed it

The best way to learn HTML is to experiment while learning.

HTML basics: basic HTML tags

HTML Title(Recommended learning: HTML Getting Started Tutorial)

HTML Title (Heading) is passed

-

and other tags are defined.

Example

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
Copy after login

HTML paragraph

HTML paragraph is defined through the

tag.

Example

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
Copy after login

HTML link

HTML link is defined through the tag.

Example

<a href="http://www.w3school.com.cn">This is a link</a>
Copy after login

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" />
Copy after login

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template