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

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

HTML Introduction (Class -01)

HTML Website Development

Posted by admin on 2022-10-29 21:34:32 | Last Updated by admin on 2024-03-03 12:13:58

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


HTML Introduction (Class -01)

What is HTML?

HTML is a markup language for describing web documents (web pages).

  • HTML stands for Hyper Text Markup Language
  • A markup language is a set of markup tags
  • HTML documents are described by HTML tags
  • Each HTML tag describes different document content

HTML Example

 

A small HTML document:

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

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

</body>
</html>

Explained

DOCTYPEThe DOCTYPE declaration defines the document type to be HTML

<html>   =    The text between <html> and </html> describes an HTML document

<head>=  The text between <head> and </head> provides information about the document

<title>=   The text between <title> and </title> provides a title for the document

<body> = The text between <body> and </body> describes the visible page content

<h1> =     The text between <h1> and </h1> describes a heading

<p> =              The text between <p> and </p> describes a paragraph

HTML Tag

HTML tags are keywords (tag names) surrounded by angle brackets:

<tagname>content</tagname>

  • HTML tags normally come in pairs like <p> and </p>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, but with a slash before the tag name

Leave a Comment:
Navnit Kumar Sharma
at 2022-12-16 10:39:54
Hi i am student of BCA