HTML Tags: SR - No Tag & Description
HTML Tags: SR - No Tag & Description
HTML stands for Hypertext Markup Language, and it is the most widely used language to
write Web Pages.
Hypertext refers to the way in which Web pages (HTML documents) are linked together.
Markup Language which means you use HTML to simply "mark-up" a text document with
tags that tell a Web browser how to structure it to display.
HTML Tags
Sr.No Tag & Description
<!DOCTYPE...>
1
This tag defines the document type and HTML version.
<html>
This tag encloses the complete HTML document and mainly
2 comprises of document header which is represented by
<head>...</head> and document body which is represented by
<body>...</body> tags.
<head>
3 This tag represents the document's header which can keep other
HTML tags like <title>, <link> etc.
<title>
4 The <title> tag is used inside the <head> tag to mention the
document title.
<body>
5 This tag represents the document's body which keeps other HTML
tags like <h1>, <div>, <p> etc.
<h1>
6
This tag represents the heading.
<p>
7
This tag represents a paragraph.
<br /
>
HTML - Lists
<ul> − An unordered list. This will list items using plain bullets.
<ol> − An ordered list. This will use different schemes of numbers to list your items.
<dl> − A definition list. This arranges your items in the same way as they are
arranged in a dictionary.
Attribute is used to define the characteristics of an HTML element and is placed inside the
element's opening tag.
HTML element is defined by a starting tag. If the element contains other content, it ends
with a closing tag. All attributes are made up of two parts − a name and a value
Fonts play a very important role in making a website more user friendly and increasing
content readability.
<basefont> tag to set all of your text to the same size, face, and color.
FONTS ATTRIBUTE
<body> element contains all the contents of an HTML document, such as text, hyperlinks,
images, tables, lists, etc.
BODY ATTRIBUTE