HTML (Hypertext Markup Language) is the code that organizes a web page’s structure and content. Content may be organized using a series of paragraphs, a list of bulleted points, or photographs and data tables, for example.
Introduction of basic structure of HTML
So in this blog we are going to learn about the basic structure of HTML, how do we start writing HTML code, check the below image to see how do we start basic HTML.
So in the above image you can see the all basic common Elements which we use to write our HTML code. lets discuss about all these elements one by one in brief, so here we go.
- HTML Element:
This is the root element of an HTML document, it includes all other elements.
An HTML document’s beginning and end are divided by the HTML feature. this is the most important element in which we include all our other elements, tags, attributes etc.
- HEAD Element:
An HTML document’s information and metadata are stored in this container.
Both the start and end tags can be excluded, and the start and end tags can be extracted from child components.
- TITLE Elements:
This tag specifies the title of the text. Every HTML and XHTML document must have this attribute. The title can be used in a variety of ways by software platforms. Consider the following scenario:
While a window is open, it is usually displayed in the title bar, and when the window is minimized, it is usually displayed in the task bar.
When saving the tab, it will become the default file name.
Note: We will use the <title> element only once in a web page, and then we’ll use another <title> element with a new title when we make another page (don’t use the same name with all title tags in your website; this can cause issues for search engines).
- BODY Elements:
An HTML document’s displayable content is contained in this container.
Both the start and end tags can be excluded, and the start and end tags can be inferred from child components.
After HTML many version of HTML released but the most used version of HTML which is used everywhere nowadays which HTML5. so lets learn about HTML 5 in brief.
HTML5 was first made available to the general public on January 22, 2008, with a major upgrade and “W3C Recommendation” status following in October 2014.HTML5 is the most recent version of the HTML format. The concept includes two distinct ideas. It’s a modern version of HTML with new features, attributes, and behaviors, as well as a broader range of technologies that make it possible to create more diverse and efficient Web sites and applications.
There are a lot of new syntactic features in this version. The latest version includes and manages visual and graphical content natively such as
<canvas>elements were added and support for scalable vectors graphics(SVG) and MathML also added. new page structure such as
<figure>are added and many more new attributes are added. we will learn more about other attributes of HTML5 in the coming blogs, hope this blog was helpful for you.