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

A

The document defines HTML tags and their usage. It explains common tags like heading, paragraph, lists and table tags. It also covers attributes of table tags and entity references in HTML.

Uploaded by

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

A

The document defines HTML tags and their usage. It explains common tags like heading, paragraph, lists and table tags. It also covers attributes of table tags and entity references in HTML.

Uploaded by

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

html : hyper text markup language

h - hyper
t - text
m - markup
l - language

<> - tag
<> - angular tags
ex: <india>,<h1>,<table>
opening : <h1>
closing : </h1>

HTML element contains


opening tag + some content +closing tag

ex : <h1> this is heading one </h1>

<br> break </br> self closing tag

<hr> line </hr> self closing tag

browser
ex: chrome,mozilla,firfox,internet explorer

meta tags : novels,peotry,authors books

-Heding tags
<h1>This is heading 1</h1>
<h2>This is Heding 2 </h2>
<h3>This is Heding 3 </h3>
<h4>This is Heding 4 </h4>
<h5>This is Heding 5 </h5>
<h6>This is Heding 6 </h6>

-praragraph tag
<p> </p>

Unordered list <ul> </ul>


Ordered list <ol> </ol>
Description list <dl> </dl>

HTML code snippet containing an empty list item element,


represented by <li></li>
In HTML, the <li> element is typically used within an
ordered list (<ol>) or an unordered list (<ul>)
to define a list item.

<dl>
<dt>google:
<dd>it is a search engine</dd>
</dt>
</dl>

Description list <dl></dl> tag


inside
define term <dt>
information of term<dd>
<table>-------</table>
<tr>--------</tr> :creates table row
<td>--------</td> :creates table data/column
<th>--------</th> :creates table heading
<style> it changes the style of the table

Border:
-Determines the thickness of the table border
example:<table border = "2">

Cellpading: 10,20,40
-Determines the distance between the border of a cell
and the content of the cell
example:<table cellpadding = "2">

Cellspacing:
-Determines the space betweenthe borders of the
two adjacent cells
example:<table cellspacing="1">

<table>,<tr>,<th>,<td> attributes

-ALIGN
$Possible values:Center,Left,Right
$example : <th align = "center">

-BGCOLOR
$example : <td bgcolor = "red">

-WIDTH
$example : <tr width = "40%"

-HEIGHT
$example : <table height = "200">

& ......;
&lt;
&#60;

<h2>This is h2 tag </h2> <br>


&lt;h2&gt; This h2 tag &lt;h2&gt; <br>

&#60;h2&#62; This h2 tag &#60;/h2&#62; <br>

&copy; <br>
&reg; <br>
&#8377 <br>

This &nbsp;&nbsp;is
Tab &emsp; space
<pre> this is my name

hello this is vallah


</pre>
<xmp>
this is h2
hello papa
</xmp>

what is anchor tag


how to write anchor tag
attributes of anchor tag

.Anchor tag is used to link one webpage


to another webpages

syntax:<a href = "path to go"> Link name </a>


Ex: <a href = "www.twitter.com">Twitter</a>

<a herf =" ../contact/contact.html"

You might also like