- HTML Introduction
- HTML Editors
- HTML Basic Examples
- HTML Elements
- HTML Attributes
- HTML Headings
- HTML Paragraphs
- HTML Styles
- HTML Formatting Elements
- HTML Quotation
- HTML Comments
- HTML Colors
- HTML Styles - CSS
- HTML Links
- HTML Images
- HTML Tables
- HTML Lists
- HTML Block And Inline
- HTML Class
- HTML Id
- HTML Iframes
- HTML JavaScript
- HTML File Paths
- HTML Head
- HTML Layout
- HTML Responsive
- HTML Computer Code
- HTML Semantic
- HTML Forms
- HTML Form Attributes
- HTML Form Elements
- HTML Input Types
- HTML Input Attributes
- HTML Input Form Attributes
- HTML Canvas
- HTML SVG
- HTML Media
- HTML Video
- HTML Audio
- HTML YouTube
HTML Introduction
Describe HTML
HTML, or Hyper Text Markup Language, is the primary markup language for creating Web pages. A
-
HTML is the most popular markup language for creating Web pages.
-
HTML outlines the construction of a Web page.
-
HTML has a variety of different elements.
-
HTML elements give browsers instructions on how to display content.
-
HTML elements offer the labels "this is a heading," "this is a paragraph," "this is a link," etc.
-
A Simple HTML Document
<html>
<head>
<title>Page Title Name</title>
</head>
<body>
<h1>This is a heading,</h1>
<p>This is a paragraph.</p>
</body>
</html>
Example Explained
-
The<!DOCTYPE html> declaration identifies this document as an HTML5 document
-
The <html> element is the root element of an HTML page
-
<head> element contains meta data about the HTML page. .
-
The <body> element defines the document's body and is a container for all the visible elements, including headings, paragraphs, images, hyperlinks, tables, lists, etc.
-
The <h1> element provides a large heading for the HTML page, which is displayed in the browser's title bar or in the page's tab.
-
TThe paragraph is defined by the <p> element.
What Is An HTML Element?
An HTML element is defined by a start tag, some content, and an end tag:
HTML elements are contained within both the start tag and the end tag.
<p>This is a First Paragraph.</p>
Start tag
|
Element content
|
End tag
|
---|---|---|
<h1>
|
This is a first Heading
|
</h1>
|
<p>
|
This is a first paragraph.
|
</p>
|
<br>
|
none
|
none
|
Web Browsers
Examples of web browsers whose main purpose is to read and correctly display HTML documents are Chrome, Edge, Firefox, and Safari.
A browser uses the HTML tags but doesn't actually display them when deciding how to display the page.
HTML Page Structure
Here is an illustration of the structure of an HTML page:
<head>
<title>Page Title Name</title>
</head>
<body>
<h1>This is a first heading</h1>
<p>This is a first paragraph.</p>
<p>This is a second paragraph.</p>
</body>
</html>
HTML History
HTML was created by Sir Tim Berners-Lee in late 1991, but it wasn't made publicly accessible until it was released as HTML 2.0 in 1995. In late 1999, HTML 4.01, a substantial update, was released.
Due to version upgrades, HTML is a markup language that is always changing. Users may now create web pages considerably more quickly and attractively, as well as create very effective sites, even before the updated standards and specifications are put into practise.
HTML 1.0 was established in 1993 with the purpose of sharing content that can be read and accessed by web browsers. However, only a small portion of the developers created websites. Furthermore, there was no improvement in the language.
Then there is HTML 2.0, which was introduced in 1995 and has all the features of HTML 1.0 in addition to a few new ones. HTML 2.0, which enhanced a number of its fundamental features, served as the industry standard markup language for building and developing websites up until January 1997.
Following that, Dave Raggett presented a fresh draught or paper on HTML for HTML 3.0. It included enhanced HTML features that allowed webmasters more effective tools for building websites. However, these strong features of the new HTML limited the browser's capacity to add more improvements.
HTML 4.01, the HTML version after that, is widely used and was a well-liked HTML version prior to HTML 5.0, which is currently available and being utilised globally. HTML 4.01, which was introduced in 2012, and HTML 5, which is an enhanced version, can be contrasted.
Products
Partner
Copyright © RVR Innovations LLP 2024 | All rights reserved - Mytat.co is the venture of RVR Innovations LLP