Fullstack Hub

html tutorial

[Count: 2]

This is a quick HTML guide for absolute beginners.

HTML is used to define web page architecture. The browser understands the HTML tags e.g. head, body, h1, IMG, etc., parse them and show us the output.Following are some HTML tags with examples:Mostly HTML has two main sections, the head, and body. Following is an example of how to write it:

HTML

Where htmlhead and body are HTML elements that are defined through the start and end tags e.g. <html> ... </html>. The elements may have attributes (properties).

The title element is used to define the page title:

HTML

You can define different headings like the following: 

HTML

Following is how you write the paragraph:

HTML

Add the image in HTML like the following:

HTML

Create the HTML table like the following, where tr is table row and td is table data (column):

HTML

There are two lists in HTML, ordered (1,2,3,4,…) and unordered list e.g. bullet list:

HTML

Following is how you add the links in HTML:

HTML

We can also specify the inline style to HTML elements like the following:

HTML

This is how you make HTML text bold, italic and underline:

HTML

Yaseer Mumtaz

Leave a Reply

Your email address will not be published. Required fields are marked *