Learn to Code HTML & CSS

Posted by

HTML stands for Hypertext Markup Language, and it is the most widely used language to write Web Pages.

Hypertext refers to the way in which Web pages (HTML documents) are linked together. Thus, the link available on a webpage is called Hypertext.

As its name suggests, HTML is a Markup Language which means you use HTML to simply “mark-up” a text document with tags that tell a Web browser how to structure it to display.

Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers.

Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.

Basic HTML Document
HTML Tags
As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces . Except few tags, most of the tags have their corresponding closing tags. For example,has its closing tagandtag has its closing tagtag etc.

Above example of HTML document uses the following tags −

Sr.No Tag & Description
1
This tag defines the document type and HTML version.

2 This tag encloses the complete HTML document and mainly comprises of document header which is represented by…and document body which is represented by…tags.

3 This tag represents the document’s header which can keep other HTML tags like, etc.

4 Thetag is used inside thetag to mention the document title.

5
This tag represents the document’s body which keeps other HTML tags like

,

,

etc.

6

This tag represents the heading.

7

This tag represents a paragraph.

To learn HTML, you will need to study various tags and understand how they behave, while formatting a textual document. Learning HTML is simple as users have to learn the usage of different tags in order to format the text or images to make a beautiful webpage.

World Wide Web Consortium (W3C) recommends to use lowercase tags starting from HTML 4.

HTML Tags

As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their corresponding closing tags. For example, <html> has its closing tag </html> and <body> tag has its closing tag </body> tag etc.

Above example of HTML document uses the following tags −

Sr.No Tag & Description
1 <!DOCTYPE…>This tag defines the document type and HTML version.
2 <html>This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.
3 <head>This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.
4 <title>The <title> tag is used inside the <head> tag to mention the document title.
5 <body>This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.
6 <h1>This tag represents the heading.
7 <p>This tag represents a paragraph.

To learn HTML, you will need to study various tags and understand how they behave, while formatting a textual document. Learning HTML is simple as users have to learn the usage of different tags in order to format the text or images to make a beautiful webpage.

World Wide Web Consortium (W3C) recommends to use lowercase tags starting from HTML 4.

HTML Tags

As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their corresponding closing tags. For example, <html> has its closing tag </html> and <body> tag has its closing tag </body> tag etc.

Above example of HTML document uses the following tags −

Sr.No Tag & Description
1 <!DOCTYPE…>This tag defines the document type and HTML version.
2 <html>This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.
3 <head>This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.
4 <title>The <title> tag is used inside the <head> tag to mention the document title.
5 <body>This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.
6 <h1>This tag represents the heading.
7 <p>This tag represents a paragraph.

To learn HTML, you will need to study various tags and understand how they behave, while formatting a textual document. Learning HTML is simple as users have to learn the usage of different tags in order to format the text or images to make a beautiful webpage.

World Wide Web Consortium (W3C) recommends to use lowercase tags starting from HTML 4.

HTML Tags

As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their corresponding closing tags. For example, <html> has its closing tag </html> and <body> tag has its closing tag </body> tag etc.

Above example of HTML document uses the following tags −

Sr.No Tag & Description
1 <!DOCTYPE…>This tag defines the document type and HTML version.
2 <html>This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.
3 <head>This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.
4 <title>The <title> tag is used inside the <head> tag to mention the document title.
5 <body>This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.
6 <h1>This tag represents the heading.
7 <p>This tag represents a paragraph.

To learn HTML, you will need to study various tags and understand how they behave, while formatting a textual document. Learning HTML is simple as users have to learn the usage of different tags in order to format the text or images to make a beautiful webpage.

World Wide Web Consortium (W3C) recommends to use lowercase tags starting from HTML 4.

Leave a Reply

Your email address will not be published. Required fields are marked *