0% found this document useful (0 votes)
4 views3 pages

HTML Tags1

The document provides an overview of HTML tags, their descriptions, and usage, including starting and ending tags. It also outlines attributes and properties related to HTML elements, such as styling and formatting options. The content is structured to assist learners in understanding the basics of HTML for web development.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

HTML Tags1

The document provides an overview of HTML tags, their descriptions, and usage, including starting and ending tags. It also outlines attributes and properties related to HTML elements, such as styling and formatting options. The content is structured to assist learners in understanding the basics of HTML for web development.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SysTech Instructor: Munwar Hussain.

Office Assistant @GHS Karoondi Managed by Sukkur IBA University

HTML Tags
Starting Tag Description

<html> Starting tag or root tag of html document

<head> It includes page title and information about document

<body> Defines the document's body, the main content of a web page

<p> Used for a paragraph

<br> To break a row or to make a new line

<b> To bold the text

<i> To italicize the text

<center> Place the text at the center of a web page horizontally

<u> Make the text underlined

<em> Emphasized text

<strong> Important text

<mark> Marked text or highlighted text

<small> Small text

<del> Deleted text

<ins> Inserted text

<sub> Subscript text


SysTech Instructor: Munwar Hussain. Office Assistant @GHS Karoondi Managed by Sukkur IBA University

<sup> Superscript text

<a> Defines a hyperlink

<img> To display an image

<ol> Ordered list or numbered list

<ul> Unordered list or bulleted list

<li> Add an item to a list

<dl> Define a definition list

<dt> Defines a term/name in a description list

<dd> Defines a description/value of a term in a description list

<footer> Defines a footer for a document or section

<header> Defines a header for a document or section


SysTech Instructor: Munwar Hussain. Office Assistant @GHS Karoondi Managed by Sukkur IBA University

Other Tags
Starting Tag Ending Tag Description
<img> No ending tag To display an image
<!-- --> To write a comment

Attributes
Attributes Description
style For inline CSS , used to format the text/elements
alt To display an alternate text if image is not being
displayed
src To give a source/location of a file from a computer or a
website
href To place a url of a file
width To define the width of an image
height To define the height of an image

Properties
Properties Description
Color To define a color for text
Background-color To define a background color for text
Font-family Define font family of text
Text-align Define alignment of text
Text-size Define size of text

You might also like