HTML is the abbreviation for Hyper Text Markup Language. It’s a markup language and is used to construct web pages. HTML is a markup language that integrates hypertext & markup. The term “hypertext” refers to the connection between online pages. The text document within the tags that specifies the structure of web pages is produced using a markup language. This language is used to annotate (add notes to) text so that a computer can comprehend it and alter it appropriately. The majority of markup languages (such as HTML) are understandable by humans. Tags are used in the language to specify what type of text processing is required.
HTML Tags
HTML tags are commonly used to refer to HTML markup tags.
- HTML tags are keywords surrounded by angle brackets like
- HTML tags normally come in pairs like and
- The start tag is the first in a pair, while the end tag is the second.
- Start and end tags are sometimes known as opening and closing tags.
Important HTML Tags
- HTML– It’s the HTML’s construction tag.
- DOCTYPE– It’s used to specify the kind of document. It’s not an HTML tag at all.
- HEAD– It’s the tag that doesn’t have any text in it but encompasses all of the others.
- TITLE– When you wish to give your content a title, you use this tag. The title tag is nestled within the head tag.
- BODY– This category is used to categorise everything on the website.
- DIV– The div tag, commonly known as the division tag, is used to divide the information of a document.
- SPAN– It’s used to enclose the full file’s text. It’s mostly used to organise the file’s inline information.
- A– This is the category for hyperlinks. You can supply a link to a page or website where you’d want to lead the reader in this tag. It has the “href” property, which is crucial since the destination is provided into it.
- TABLE– However, until some material is provided into it, this tag will have no effect. The layout is provided by a number of additional tags that are given along with it.
- THEAD– It represents the table’s top row, which contains the column headings.
- TBODY– It’s used to display real table data within the table tags.
- TR- It’s used to specify a table row.
- TD- It’s used to specify what should be sent in the table row’s content.
- BR- The line break command is used to separate the lines inside the file. There is no tag at the end.
HTML Documents = Web Pages
- HTML documents describe web pages
- HTML scripts are made up of both HTML tags and plain text.
- HTML codes are also known as web pages.
A web browser (such as Internet Explorer or Firefox) is designed to read HTML texts and display them as web pages. The HTML tags are not displayed by the browser, but they are used to comprehend the page’s content:
Example Explained
– The text between and describes the web page
– The text between and is the visible page content
– The text between and is displayed as a heading
– The text between and is displayed as a paragraph
HTML Element Syntax
- An HTML element begins with a start tag, often known as an opening tag
- An end tag / closing tag is used to mark the end of an HTML element
- Everything between the start and end tags is considered element content
- Some HTML elements have empty content
- The start tag closes empty items
- Most HTML elements can have attributes
W3C and WHATWG
The World Wide Web Consortium (W3C) is a group of developers trying to establish worldwide development standards.
WHATWG is an acronym for Web Hypertext Application Technology Working Group. It was designed in 2004 at a W3C workshop session by Apple, Mozilla, and Opera Software employees. WHATWG is a development community that focuses on HTML rather than XHTML and works on standards to improve user experience.
The following terms have been agreed upon by the W3C and the WHATWG:
- In the WHATWG repository, the W3C and WHATWG collaborate on HTML and DOM to develop a Living Standard and Recommendation/Review Draft-snapshots.
- The HTML and DOM Living Standards are maintained by the WHATWG.
- The WHATWG repositories are where the W3C promotes community work (bridging communities, developing use cases, filing issues, writing tests, mediating issue resolution)
- W3C will no longer publish an independent list of HTML and DOM standards, instead focusing on moving WHATWG Review Drafts to W3C Recommendations.
File extensions:
The file extensions ‘.htm’ and ‘.html’ correspond to HTML files. Plain text files are what they are. HTML stands for Hyper Text Markup Language, and it’s a markup language that’s used to make web pages. Markup tags are used by HTML to describe online pages. They are identified by the file extensions.htm and.html. If you employ HTML files to make your website, an.html or.htm extension will almost certainly appear at the end of the URL. ‘http://code.google.com/chrome/extensions/samples.html’ and ‘http://edgewisdom.com/Finance1.htm’ are two instances.
Conclusion:
“HTML is a standardised technique for labelling text files in order to accomplish font, colour, visual, and hyperlink effects on World Wide Web sites.” HTML is a formatting language, not a programming language. It instructs browsers on how to arrange and display material on a page.