HTML stands for “Hypertext Markup Language”. This allows the users to create and structure paragraphs, sections, divisions, table, forms etc etc in your webpages and applications that you are planning to create for your website.
HTML is not a programming language though, which means that it doesn’t have the ability to create dynamic functionality. Instead, it makes it possible to organise and format the documents, in the way you wanted it to be on your website pages.
Okay, before getting into the actual topic, we will look into some of the things that are important to know:
What is HTML?
As we already know, HTML stands for Hypertext Markup Language. So, HTML refers to the hyperlinks that is there on the HTML page. "Markup language" refers to the tags and the way it is being used to define the page layout and elements within the page.
HTML comprises of very simple coding and it is a bit easier compared to others. At the time of working with HTML, we use simple code structures which consists of tags and attributes to markup the website.
There are certain attributes and elements that you need to use at the time of coding and we will look into some of them here:
These are some of the elements used in the HTML coding.
Overall, HTML is a markup language that is really straightforward and a very easy to learn language even for those who have absolutely no clue about coding and are complete beginners in website building.
How does this HTML work?
Now that we have some idea about what HTML is, we will now look into how it actually works.
HTML documents file should end with “.html” (saving it in this format is mandatory) as its extension or file type and when you do this, your document is turned into a html file and your document can be seen in any browser and at any point of time. The browser will read the HTML file and allow its content to be displayed on the internet so that the users can view it.
Usually for an average website to be ready, it will have several html pages. For example: Home page, About us page, Contact us page, etc. and each of such pages will have separate document and “.html” as its extension.
Each HTML page will have separate sets of tags which are called as tags/elements. We already saw some of the elements in html, these tags/elements act as the building blocks of your webpages. These tags and elements create a hierarchy that structures the content into sections, headings, paragraphs and other content blocks.
Most of the elements in html have an opening <tag> and a closing tag </tag> and these tags should be used carefully because this is the syntax that HTML will understand.
Imagine you want to open a paragraph and you wanted “My name is ABC” in that paragraph.
p “My name is ABC p
This is not the right way to code. The correct way is:
<p> My name is ABC </p>
With the above example it is very clear that, when you don’t open a tag, html will not understand what you are trying to say. Hence, it is always mandatory to open and close the tag.
<h1> Main Heading of the page </h1>
<h2> Give it a catchy sub-heading </h2>
<p> Your paragraph goes here </p>
<img src=“#” alt=“ ” >
<p> open an other paragraph with a link I.e., <a href=“https://www.abc.com”> Hyperlink </a> </p>
The outcome of the above code would be:
Cons and Pros of HTML
HTML has its own set of Cons and Pros. Let’s look into all those:
These are some of the Pros and Cons of HTML
CSS: It is responsible for styling the website such as: adding background colour, layouts, spacing etc.
Note: All these comes under Web Developer and click here to know more about this the complete in and out of what a Web Developer does, how and what can he do.
Passionate and an enthusiastic blog writer on various topics in the field of skill development, corporate training and management consultancy topics.