HTML BASICS

All HTML documents must start with a document type declaration: <!DOCTYPE html>

The HTML document itself begins with <html> and ends with </html>

The visible part of the HTML document is between <body> and </body>


HTML 5 EXAMPLE

<!DOCTYPE html>
<html>
<body>

<h1>Hello</h1>
<p>hello world</p>

</body>
</html>

Preview

Hello

hello world!


HTML HEADING

Html heading starts from <h1> (largest) to <h6> (smallest).

<h1>This is largest heading</h1>
<h2>This is second largest heading</h2>
<h3>This is third largest heading</h3>

Preview

This is largest heading

This is second largest heading

This is third largest heading

HTML PARAGRAPH

The html paragraph are the tag <p>.

<p>enter paragraph</p>

HTML LINKS

HTML links are defined with the <a> tag:

<a href=”https://utter.business.blog”>This is a link</a>

Leave a comment

Design a site like this with WordPress.com
Get started