Lectures List

HTML tutorial

HTML learn to design web page

HTML stands for HyperText Markup Language, which is used to create web pages.

HTML defines the structure of the web page, HTML was created by Tim Berner Lee, also known as the inventor of WWW (World Wide Web).

Software required to develop web pages?

  • Code Editor
  • Web Browser

Code editor

This software is used to write the code of programming languages like HTML, PHP, Python, etc.

Some of the most popular code editors are Notepad, Notepad++Sublime Text 3Visual Code Studioatom

Web browsers

This software is used to run web pages.

Structure of web page

<!DOCTYPE html>
<html lang=”en”>
<title>Structure of web page</title>
Structure of web page.


Save the file as First_page.html


<!DOCTYPE html> tells to browser about the standard of the web page and ensures to support all HTML5 tags.

<html lang=”en”> define web page language to english, it is also root of web page.


<head> it is called meta section of web page which contain all meta tags and resource file links like <title>, <link>, <script>, etc.

<title> define the title of the web page that displays at the title bar of the browser.


<body> it is the main part of the web page where actual data of application displayed and <body> tag define sectioning root of the application.

Content sectioning tags in HTML

  • <address>
  • <aside>
  • <article>
  • <header>
  • <footer>
  • <h1> to <h6> all heading tags
  • <main>
  • <nav>
  • <section>

<address> tag

This tag indicates about enclosing tag contain contact informatioin, address about person, people’s, and organisation.


24 Floor, Gandhi Road Delhi.

<aside> tag

This tag indicates the enclosing tag contains information that is indirect to the main content.


Find best resource at https://www.freecodepoint.com

<article> tag

This tag can be used to show forum posts, blog posts, and stories.


…. here can write story, post 

<header> tag

This tag contains introductory information about the web page and company logo, search form, etc.



<footer> tag

This tag contains website copyright data, about the author, links to related documents.


2020 All rights are reserved.

<h1> to <h6> heading tags

Heading tags are used to writing the heading of web pages. <h1> is top-level heading and <h6> is lower-level heading.



<main> tag

This tag contains the dominant content of the body of a document.

<nav> tag

This tag represent a section that contains navigation links.


<a href=’/login’>Login</a>
<a href=’/register’>Register</a>

<section> tag

Represents a section of the web page.


A part of section

Text tags

These text tags define data.

  • <blockquote>
  • <div>
  • <dl>, <dt>, <dd>
  • <ol>,<li>
  • <ul>,<li>
  • <p>
  • <hr>
  • <pre>
  • <figure>
  • <figcaption>

<blockquote> tag

used to quote a message or passage.


 I am not handsome but I can give my hand to someone who need help.. Because beauty is required in heart not in face!
– A. P. J. Abdul Kalam

<div> tag

It is called a division tag, also called a container tag, that has no effect on content like <p> tag.


Dream is not that which you see while sleeping it is something that does not let you sleep

<dl>,<dt>, <dd> tag

<dl> stands for description list, <dt> stand for data terms or names, <dd> stands for description data.

<dl> create description list

<dt> create data terms

<dd> describe data or terms.


<dt>Dream, Dream Dream. Dreams transform into thoughts and thoughts result in action.</dt>
<dd>- A. P. J. Abdul Kalam</dd>

<dt>My Lord,
Never let me climb so high
That I am unable to embrace another stranger,
Deliver me ever from such arrogance</dt>
<dd>- Atal bihari vajpayee</dd>

<ol>,<li> tag

<ol> tag stands for ordered list, that is display an ordered list, and <li> stands for list.
Note: <ol> tags has attributes type, start

the type attribute has value one of the given value [1, a, A, i, I]


<h2>Popular Web Browsers</h2>
<ol type=”A” start=”3″>
<li>Google Chrome</li>
<li>Microsoft Edge</li>
<li>Mozilla Firefox</li>

<ul>,<li> tag

<ul> tag stands for unordered list, that is display unordered list, and <li> stands for list.
Note: <ul> tag has attributes type

The type attribute has value of the given value [“disk”, “circle”, “square”]


<h2>List of application softwares</h2>
<li>MS Word</li>
<li>MS Excel</li>
<li>MS Power point</li>

<p> tag

This is called paragraph tag, mainly used to write paragraphs, posts, articles, it is also called a container tag.


All physical components which are attached to the computer are called Hardware.

<hr> tag

<hr> tag stands for Horizontal tag, this tag insert an horizontal tag.

<pre> tag

This tag display data as write within this tag, it can be used to display formatted text on the web page.



<figure> tag

This tag represents self-contained content, with optional <figcaption> tag.

<figcaption> tag

Describe the rest of the content of its parent tag, also represents caption or legend for content.


<img src=”yoga.jpg” alt=”Yoga”>

Inline semantic tags

Inline tags mean a tag that has an effect in a line and has no 100% width is called inline tags.

and those tags that describe its meaning to both browser and developer are called semantics tags.

Popular semantics tags are:

  • <small>
  • <strong>
  • <a>
  • <span>
  • <code>
  • <time>
  • <mark>
  • <em>
  • <br>
  • <abbr>
  • <cite>

<small> tag

use to write small text line print, copyright content in small format.


&copy; All rights are reserved.

<strong> tag

<strong> tag create the importance of text and makes text some bold, it is also used to display a text for seriousness, urgency, and important text.


Welcome to <strong>FreeCodePoint.com</strong>

<a> tag

It is called an anchor tag, which is used to create an internal, external link.

<a> tag has three main attributes.

  1. href   [ used to create a link ]
  2. name [used to create bookmark ]
  3. target [used to open a page in same, new tab ], has two value _blank (open a link in a new tab), _self (open a link in the same tab)


<a href=”https://freecodepoint.com” target=”_blank”>Freecodepoint.com</a>

where href is hypertext reference which specifies an address of source where the user will visit after clicking on this link and target=”_blank” specify where a link will open, as you can see we have write _blank, it means this link file will open in new tab.

<span> tag

This tag is an inline tag, has an effect in a current line, can be used to format some text within a line, and it has no special effect like italic, underline, and bold tags.


<span>Category: News</span>

<code> tag

This tag format a text and display content as computer code, it is used to write any computer code within it.


var a,b,c;

<time> tag

This tag used to display time content.


<time>11:09:23 AM</time>

<mark> tag

This is also called a highlighter tag, it highlights contained text.



<em> tag

Display emphasizes text like italic or screw text.


<em>Welcome to freecodepoint.com</em>

<br> tag

This tag breaks a line.

<abbr> tag

Abbreviation element used to write acronym and abbreviation of words.

<abbr>Central Processing Unit</abbr>

<cite> tag

Used to describe creative work


Inventor of WWW was <cite>Tim Berners LEE</cite>

Demarcating tags

  • <del> tag
  • <ins> tag

<del> tag

Pass a line through a text


Jeans Rs. 3,000 Rs. 2,000

<span>Jeans <del>Jeans Rs. 3,000</del> Rs. 2,000</span>

<ins> tag

Insert an underline line for selected text.


A computer is an electronic machine.

<p>A computer is an <ins>electronic machine</ins></p>

Table tags

Table has number of tags to define table structure on the web page.

  • <table>
  • <thead> – Table head
  • <tbody> – Table body
  • <tr> – Table row
  • <th> – Table heading
  • <td> – Table data
  • <caption> – Table caption, contain text or title about table data.
  • <tfoot> – Table footer


<table border=”1″ width=”100%”>
  <caption>Product prices</caption>
    <th>Sr no</th>
    <td>Rs. 300</td>

    <td>Rs. 3000</td>

    <td>Rs. 800</td>
  <tfoot>3 Rows</tfoot>

Interactive elements tags

  • <details>
  • <summary>

Interactive tags provide tools collapse show hide content.


     A Computer is an electronic machine.

It will provide output as when the user will click on the summary text that is Computer, then the definition of the computer will show to the user.