0% found this document useful (0 votes)
8 views

HTML Tags

This document defines various HTML tags used to structure and style web pages. It lists tags for elements like paragraphs, headings, links, images, tables, forms, lists and more. It also covers some CSS tags including inline and internal styles to control text formatting properties like color, font size and weight.

Uploaded by

Lokesh Kumar
Copyright
© © All Rights Reserved
0% found this document useful (0 votes)
8 views

HTML Tags

This document defines various HTML tags used to structure and style web pages. It lists tags for elements like paragraphs, headings, links, images, tables, forms, lists and more. It also covers some CSS tags including inline and internal styles to control text formatting properties like color, font size and weight.

Uploaded by

Lokesh Kumar
Copyright
© © All Rights Reserved
You are on page 1/ 3

<HTML TAGS>

1) <p>….</p> -- defines paragraph.


2) <head>…</head>-- defines head
3) <h1>….</h1> -- defines head of the passage
4) <h2><h3>..<hn>--defines sub headings.
5) < html lang=”en”>-- define the language as english
6) <body>..</body>--define the body of the page
7) <title>…</title>-- define the title of the web page
8) <br> --define the line spacing or line breaking in between
paragraphs.
9) <!—xxxxxxxxx --> --defines a comments or command
lines
10) <strong>….</strong> --makes the text bold.
11) <i>….</i> -- makes the text italic.
12) <blockquote>….</blockquote>-- acts as if the
sentence in put within quotes .
13) <hr>-- horizontal row(draws a line below sentence.
14) <img src=”images/lokesh.jpg” width=”90”
height=”80” alt=” …”>
15) <a href=”images.html > click me</a>--defines a link
16) <target=”_blank”—defines the page to be opened in
next tab on clicking the link.
17) <table></table>--defines tablular column
18) <tr>..</tr>--defines table row.
19) <td>…</td>-- defines table data
20) <th> …</th>-makes the table heading bold
21) <thead>..</thead>--defines table heading
22) <tbody>..</tbody>--defines table body
23) <form>..</form>
24) <input type=”text” or “email” or “password” or “file”
or “submit” placeholder=”enter name”>
25) <ul>..</ul>to create list
26) <ol>..</ol> to create ordered list
27) <li>..</li> to write list item
And more tags are there,pls refer internet.
CSS
1) INLINE STYLE: style is used within tha p tag.
<p style="color:red; font-size:29px;font-weight:bold">
password </p>
2) INTERNAL STYLE: style is used inside the any
character of style tag and the character is created
outside the style tag.
<style>
g{
color:blue;
font-size:30;
font-weight:bold;
}
</style>
<g>enter the text</g>

You might also like