Starting Vocational Training From 1-May-2024 Get Detail

HTML important Basic Tag

By : Admin     |     Website     |     30th August 2018

HTML Important Basic Tag


<h1>Page title</h1>
<h3>Tertiary heading</h3>
<h4>Quaternary heading</h4>


<p >text</p>

<p align="left">text</p>

align="left/ right/ center/ justify"

Bold text

<strong>Bold text</strong>

<b>Bold text</b>

Italic text

<i>Italic text</i>

Underlined text

<u>Underlined text</u>


<img src="/demo.jpg" alt="description" height="48" width="100" />

Link(Anchor Tag)

<a href="" target="_blank">Click here</a>

Anchor Tag (jump on page)

<a href="#footer">Jump to Footer</a>

<a name="footer"></a>Footer Contect</a>


<!-- HTML Comment -->

Horizontal Line

<hr />

Line break

<br />

Unordered list


Ordered list



<iframe src="" width="200" height="200"></iframe> 


<caption>Caption Title</caption>
            <th>Student Name</th>
            <th colspan="2">Student Phone</th>
            <td>+91 (contact no)</td>
            <td>+91 (contact no)</td>
            <td>+91 (contact no)</td>
            <td>+91 (contact no)</td>
            <td>Personal Contact</td>
            <td>Office Contact</td>

Div Section

<div>Block element</div>


<form action="" method="post">
    Name: <input name="name" type="text" /> <br /> 
    Age: <input max="99" min="1" name="age" step="1" type="number" value="18" /> <br />
    <select name="gender">
        <option selected="selected" value="male">Male</option>
        <option value="female">Female</option>
    </select><br /> 
    <input checked="checked" name="newsletter" type="radio" value="daily" /> Daily <input name="newsletter" type="radio" value="weekly" /> Weekly<br />
    <textarea cols="20" name="comments" rows="5">Comment</textarea><br />
    <label><input name="terms" type="checkbox" value="tandc" />Accept terms</label> <br />
    <input type="submit" value="Submit" />

Example of Blank HTML Page 

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>Page Title</title>
    <meta name="description" content="">
    <link rel="stylesheet" type="text/css" href="">
    <script src=""></script>    
    <!-- Content -->