English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Basic Tutorial

HTML Media

HTML Reference Manual

HTML5 Basic Tutorial

HTML5 API

HTML5 Media

HTML Basics- 5examples

Below through5A simple example to show you the use of different HTML web tags and preview the effects.

HTML Titles

HTML headings (Heading) are defined by the <h1> - <h6> tag to define.

<h1>I am a title1 h1</h1>
<h2>I am a title2 h2</h2>
<h3>I am a title3 h3</h3>
<h4>I am a title4 h4</h4>
<h5>I am a title5 h5</h5>
<h6>I am a title6 h6</h6>
Test See ‹/›

HTML Paragraphs

HTML paragraphs are defined using the <p> tag.

<p>This is the first paragraph.</p>
<p>This is the second paragraph.</p>
<p>This is the third paragraph.</p>
Test See ‹/›

HTML Hyperlink

HTML links are defined using the <a> tag.

<a href="https://www.oldtoolbag.com">This is a link</a> 
<a href="https://www.oldtoolbag.com/html/html-tutorial.html">html basic tutorial hyperlink</a>
Test See ‹/›

Tip: Specify the link address in the href attribute.

(You will learn more about attributes in the later chapters of this tutorial).

HTML Images

HTML images are defined using the <img> tag.

<img src="/static/images/logo.png" width="258" height="39" />
Test See ‹/›

Note: The path, width, and height of the image are displayed as attributes.

HTML Tables

HTML tables are defined using the <table> tag.

<table border="1">
<tr>
<td>oldtoolbag.com basic tutorial on tables</td>
<td>oldtoolbag.com basic tutorial on tables</td>
<td>oldtoolbag.com basic tutorial on tables</td>
<td>oldtoolbag.com basic tutorial on tables</td>
</tr>
</table>
Test See ‹/›

Note: The borders, width, and height of the table are displayed in the form of properties.