What Are HTML and its uses?/HTML Introduction
HTML stands for HyperText Markup Language and used for creating web pages.
For your better understanding, I explain to you an example of building construction.
Building construction is done with the help of brick, sand, and cement. So here brick, cement, and sand are the elements that together form a beautiful building.
In the same manner, HTML elements are used to construct a beautiful web page. When several HTML tags are written in a proper manner then they form a beautiful web page as per requirement.
Heading, Paragraph, Title, table are a few examples of tags that are used to write a specific type of content on the webpage as per the requirement.
If you are in a software or a programming field then knowledge of HTML would be a great help for building your program, website, front-end design, job interview questions, college viva questions.
Within this blog, we are going to cover What is HTML explain? What are HTML and its uses? How do you start off HTML? HTML example, HTML tags, HTML Introduction ppt, HTML basics.
How to design a simple HTML document?
you can achieve this by writing a simple HTML code which is also known as standard code. Please see the image below.
How to run this program in the web browser?
There are several editors where you can write and run the HTML program, we will let you give the detailed description for all the HTML editors later. But as for now you just write down this code in a notepad and then save it with any name with an HTML extension like ‘myfirsthtmlprogram.html‘.
Once you will save this program then you will see a browser file is generated at your desktop within your default browser and then you can open that file and see the effect of your HTML code, now you can make an update to your code and can get the desired result.
How will this program display in the browser?
The web browser (Chrome, IE, Firefox, Safari) is used to read the HTML documents and display them on the screen.
The browser does not display the tag instead they show the effect of or property of that tag.
How many HTML versions have launched till now?
There are many version which has been launched till now with some update in the HTML tags. See the image below.
HTML tags are the name of the HTML element enclosed with a pair of an angle bracket(<>).
<tagname>Here we write the content…</tagname>
- All HTML tags are written in pair like <h1>….</h1> except few of them like<img/>, </br> and etc.
- The first tag in a pair is the start tag, the second tag is the end tag
- The end tag is written like the start tag, but with a forward slash inserted before the tag name
- The start tag is also called the opening tag, and the end tags the closing tag.
HTML PAGE STRUCTURE
You can see the basic structure of HTML PAGE in the below image.
HTML: The <!DOCTYPE> Declaration
The <!DOCTYPE> This declaration represents the type of document whether it is in HTML or HTML5 and this also helps the browser to display the page correctly.
This declaration must appear once at the top of the document before any HTML tag.
This is not case sensitive.
The <!DOCTYPE> declaration for HTML5 is:
Using this blog we have learned lots of things about HTML. We have known the contribution of HTML in designing a web page or website. We have also explored How do I start learning HTML? Can I teach myself HTML? What is HTML with an example? HTML example, HTML tags, HTML Introduction ppt, HTML basics. HTML can be considered as a basic block in the programming world.
In case of any queries, you can write to us at [email protected] we will get back to you ASAP.
Hope! you would have enjoyed this post about HTML.
Please feel free to give your important feedbacks in the comment section below.
Have a great time! Sayonara!