What are the basics of HTML?
Hello Friends, Today I came up with HTML basics(What are the basics of HTML), which is very important to know before learning HTML in brief. Here I will let you know about the HTML tags and basic HTML page.
Within this blog(What are the basics of HTML), we will cover What are the basics of HTML? How do you write HTML? HTML Basics PDF, HTML tutorial, HTML example, HTML tags, Basic HTML Page Template, HTML tutorial for beginners.
It is also helpful in case when you just want to take an overview of HTML basics for interview purposes or teaching purposes|What are the basics of HTML|
It will also help the beginners to accelerate their knowledge of HTML|What are the basics of HTML|
You must be familiar with the HTML basics when you are going to learn any version of HTML. HTML learning is really fun and prepares you for building a fantastic webpage design.
In this blog, I am going to let you know about a few basic HTML tags though there could be a few tags that you are not familiar with, don’t worry we will explain all these tags in later blogs or chapters.
HTML DECLARATION:
<!DOCTYPE html>
This is an HTML declaration and shows the HTML version you are using, you must write this at the top of your HTML document before all the tags.
What if you do not write this declaration in your HTML document? will this make any changes to your HTML code?
This declaration tag notifies the browser which version of HTML you are using so the browser gives support to all the tags of that HTML version.
In case you miss writing this statement then it can be a case that the browser will not support most of the newly updated tags.
So simply we can say this HTML basics statement or declaration affects the browser compatibility of your HTML document.
HTML BASICS TAGS:
<html></html>
An HTML document starts with <html> tag and ends with </html> tag.
<body></body>
All visible part of an HTML document is kept inside this body tag.
<h1>…</h1>
This is an HTML heading tag, you can find the range of this heading tag from <h1> to <h6>, here the number shows the priority of the heading such as h1 shows that the heading is the most important heading and h6 shows that it is least important heading.
<p>…..</p>
This tag is used for writing a paragraph inside the HTML document.
<a href=”https://a5theory.com/”>Click here</a>
This is a long tag and is used for putting the link in the HTML document. When any user clicks this link then the user will be redirected to the Href address given in the link.
<img src=”sampleimage.jpg” alt=”a5theory.com” width=”100″ height=”100″>
This is the image tag used for putting the image in the HTML document, you need to put the full image path in the src section of this tag.
Example:
[code]
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
[/code]
Conclusion:
We have gone through the basics of HMTL. We have explored several things about HTML basics like What are the basics of HTML? How do you write HTML? What are the 4 basic HTML tags? What are the 10 basic HTML tags? HTML Basics PDF, HTML tutorial, HTML example, HTML tags, Basic HTML Page Template, HTML tutorial for beginners|What are the basics of HTML|
In case of any queries, you can write to us at a5theorys@gmail.com we will get back to you ASAP.
Hope! you would have enjoyed this post What are the basics of HTML?
Please feel free to give your important feedback in the comment section below|What are the basics of HTML|
Have a great time! Sayonara!