What is HTML?
What is HTML?
Not a super duper tough question, but this question manages to puzzle many of the people.
HyperText Markup Language, or better known by its abbreviation HTML, is a standard language for all web pages and documents on the internet. It is actually a markup language, meaning, whatever typed is not shown as it is. It is processed and only the desired output is shown.
Who created HTML?
A contractor at CERN and the web legend Tim Berners-Lee created HTML in 1991. Yes, he is the one who invented the World Wide Web
Soon various versions of HTML came and it became the standard markup language for designing and creating websites.
.
HTML 1.0 was released in 1993 with the intention of sharing information which can be readable and accessible via web browsers. But not much of the developers were involved in creating websites. So the language was also not growing.Soon various versions of HTML came and it became the standard markup language for designing and creating websites.
How does HTML work?
HTML consists of a series of short codes typed into a text-file by the site author called as tags. The text is then saved as a .html file, and viewed through a browser. This browser reads the file and translates the text into a visible form, hopefully rendering the page as the author had intended. Writing your own HTML would make you to use these tags correct-fully.
How to test a HTML document?
The simplest way to test a HTML document you have typed is to copy it and paste in a new text document and save it as a .html instead of .txt file. Then once you save the file, another internet web-page will be created at the same location where you saved your text document as .html with the same name. Open it to view the output. If you want to make changes, you can do so in the text document.
What exactly are HTML tags and attributes?
HTML is made up of several key components called as tags. HTML tags most commonly come in pairs like <h1> and </h1>, although some represent empty elements and so are unpaired, for example <br>.
Some tags need specifications like source, alternative text, style, etc. So in addition to tags, these attributes are used.
Some tags need specifications like source, alternative text, style, etc. So in addition to tags, these attributes are used.
The first tag in such a pair is the start tag, and the second is the end tag (they are also called opening tags and closing tags). Tags are enclosed in 'less than' or 'greater than' signs that we used to use in mathematics for inequalities!
How to use HTML tags?
The HTML document itself begins with <html> and ends with </html>. Every other thing is enclosed in these tags. The content that should be visible to readers is enclosed in the tags <body> and </body>. So a document looks like:
<html>
<body>
Everything else goes between these tags.
</body>
</html>
Know more about HTML tags by clicking here.
How to use HTML attributes?
Every HTML element can have attributes. They are very important in web development and programming. Learn more about HTML attributes by clicking here.
Posts before October 2021 have been marked as "Old Posts". Less likely, but they might have out dated or incorrect information, ugly looking bits of code, no labels, etc. Don't get me wrong, many of these posts are top-notch and interesting too.
I thought it would be better not to delete or revamp these posts, even if they suck. The bitter truth is that old works always suck, but I take that as a positive tool to convey that I am growing. Besides there's no better way to showcase my journey without these old, messy, poorly written posts!
I thought it would be better not to delete or revamp these posts, even if they suck. The bitter truth is that old works always suck, but I take that as a positive tool to convey that I am growing. Besides there's no better way to showcase my journey without these old, messy, poorly written posts!
Old Post