HTML Basic Examples

Example 1

Preview

My First Heading

My first paragraph.

Code

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Example 2

HTML Headings

Preview

This is heading 1

This is heading 2

This is heading 3

Code

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

Share This Post
0 0

Leave a Reply