बहुत जल्द सभी नोट्स अपलोड होगा

Computer Notes आप अपने दोस्तो में शेयर जरूर करें, और कमेंट बॉक्स में मुझे कमेंट करें

HTML Page Structure (Class -02)

HTML Website Development

Posted by admin on 2022-10-29 21:45:52 |

Share: Facebook | Twitter | Whatsapp | Linkedin Visits: 126

HTML Page Structure (Class -02)

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration helps the browser to display a web page correctly.

There are different document types on the web.

To display a document correctly, the browser must know both type and version.

The doctype declaration is not case sensitive. All cases are acceptable:


<!DOCTYPE html>


<!doctype html>

<!Doctype Html>

HTML Documents

All HTML documents must start with a type declaration: <!DOCTYPE html>.

The HTML document itself begins with <html> and ends with </html>.

The visible part of the HTML document is between <body> and </body>.


<!DOCTYPE html>

<h1>My First Heading</h1>
<p>My first paragraph.</p>


HTML Headings

HTML headings are defined with the <h1> to <h6> tags:


<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4>
<h5>This is a heading</h5>
<h6>This is a heading</h6>

HTML Paragraphs

HTML paragraphs are defined with the <p> tag:


<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

HTML Links

HTML links are defined with the <a> tag:


<ahref= "http://www.iictonline.com">this is link </a>

The link address is specified in the href attribute.

Attributes are used to provide additional information about HTML elements.


HTML images are defined with the <img> tag.

The source file (src), alternative text (alt), and size (width and height) are provided as attributes:


<img src="iict.jpg" alt="iictonline.com"  width="104" height="142">

Leave a Comment: