We are introduce the HTML language briefly and how it is used for page development of a website. In this section we will explain the most common HTML tags and their usages. We will explain only important tags which is mostly used in website creation.
HTML: –
<html> We can use html tag for the root element of an HTML document.
Head: –
<head> Tag contains metadata about the document.
Title: –
<title>Tag is used to show the title of the web page.
Body: –
<body>Tag is used to contains the visible content of the web page.
Headings: –
There are six heading tags in html in which <h1> is the biggest tag and <h6> is small tag.
Paragraph: –
<p> Tag wrap a paragraph.
Anchor: –
<a> Tag defines a hyperlink.
Image: –
<img> Tag embeds an image.
Lists Tag: –
There are two type of Lists:
<ol> – Ordered List
<ul> – Unordered List
Div and Span Tag: –
Allows pointing out content in sections and inline elements. Div is Block level element and span is inline Element.
Tables Tag: –
<table>, <th>,<tr>, <td> etc.
Forms Tag: –
<form>, <input>, <label> and <button> use to create a form for accepting user input.
Semantic Tags : –
<header>, <footer>, <nav>, <section>, <center> etc.
Iframe Tag : –
<iframe> tag mostly define inline frame