0% found this document useful (0 votes)
9 views8 pages

HTML Tag

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views8 pages

HTML Tag

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

HTML TAG & DESCRIPTION

<html> Defines the root of an HTML document.


<body> Defines the document's Body.
<h1> to <h6> Defines HTML Headings.
It's define the attribute of specifies the url of the page l
<a href>
Ex:-<a href=https://www.w3schools.com/html/>
Its defines the<src> attribute fo <img> specifies the path
<img src>
be displayed. Ex:-<img src="img_girl.jpg" alt="Girl with
width & height These attributes of <img> provide size infromation of im
The "styel"attribute is used to add styles to an element
style attribute
size, and more."Ex:-<p style="color:red;">This is a red p
Title attribute The "title" attributes defines some extra information ab
<p> Defines a Paragraph.
<hr> Defines a thematic cahange in the content .
<br> Insert a single line break.
<pre> Defines pre-formatted text.
Background color Use BackGround -color for background color.
color Use color for text colors.
fort -family Use for text fonts .
Font-size Use for text size.
Text-align Use for Text alignment.
<b> Use for bold text . Ex:-"<b>This text is bold</b>"
<strong> Use for important text. Ex:-"<strong>This text is importa
<i> Use for Itlic text. Ex:-"<i>This text is italic</i>"
<em> Emphasized Text. Ex:-"<em>This text is emphasized</em
<mark> Use for Marked Text.Ex:-"<small>This is some smaller te
<small> Use for Smaller Text.Ex:-"<mark>milk</mark>"
<del> Use for Deleted text.Ex:-"<del>blue</del>"
<ins> Use for Inserted text.Ex:-"<ins>red</ins>"
<sub> Use for Subscripts Text.Ex:-"<sub>subscript</sub>"
<sup> Use for Superscripts text.Ex:-"<sup>supscript</sup>"
<address> Definees contact information for the author/owner of a
<bdo> Defines the text Direction opposite like left to right, righ
<blockquote> Defines a section that is quated form another Source.
<cite> Defines the title of a work.word show's italic type.

<abbr>Tag This tag defines an abbrivation or an acro


<q> Defines a short inline quotation.
Border style <p style=border:2px solid Tomato;>hello world</p>
Text -Style <p styel="background-color:rgb(255,99,75);">hello worl
styel Use the HTML "styel" attribute for inline styling.
<style> Define the Internal CSS
<link> element to refer to an external CSS file.
element to sstore <style> and <link>elements
<head>
Property for text fonts
color
property for text sizes
font-family
property for borders
Border
property for space inside the border
Padding
Property for space outside the border
margin
Default . Opens the document in the same widow/ta
_self clicked.
Opens the document in a new window or tab
_blank
Open the document in parent frame
_parent
Opens the document in the full body of the window
_ top
Defines a rectangular region
rect
Defines a circular region
circle
Defines a Polygonal region
poly
Defines the entire region
default
Defines an image
<img>
Defines an image map
<map>
Defines a clickabel area inside an image map
<area>
Defines a container for multilple images resources.
<picture>
Defines the relationship between a document and exter
<link>
Defines the title of the document.
<title>
Defines a table
<table>
Defines a header cell In a table
<th>
Defines a row in a table
<tr>
Defines a table caption
<td>
Defines a table caption
<caption>
Specifies a group of one or more columns in a table for f
<colgroup>
Specifies column properties for each column within a <c
<col> element.
Groups the Header content in a table
<thead>
Groups the body content in table .
<tbody>
Groups the footer content in a table.
<tfoot>
Defines the independent, slef-contained content.
<article>
Defines the content aside form the page content .
<aside>
Defines additional details that the user can view or hide
<details>
defines a caption for a <figure>element.
<figcaption>
Specifies selfo-containent likke issu
<figure>
RIPTION
ent.

the url of the page link goes .


s.com/html/>
g> specifies the path to the image to

rl.jpg" alt="Girl with a jacket">


ize infromation of image.
styles to an element , such as color,
red;">This is a red paragraph.</p>"
extra information about an element.

ontent .

und color.

is bold</b>"
g>This text is important!</strong>"
italic</i>"
xt is emphasized</em>"
his is some smaller text.</small>"
lk</mark>"
</del>"
</ins>"
ubscript</sub>"
>supscript</sup>"
e author/owner of a document.
like left to right, right to left .
m another Source.
ow's italic type.

ation or an acronym,like "H

hello world</p>
5,99,75);">hello world</p>
nline styling.

file.
>elements

r
er

n the same widow/tab as it was


ow or tab
e
y of the window

mage map
ages resources.
document and external resource

lumns in a table for formatting.


h column within a <colgroup>
le
e.
ained content.
page content .
user can view or hide
ment.

You might also like