What is the Basic Structure of an HTML Document

What Is The Basic Structure Of An HTML Document? Hello friends, in this article we will understand what HTML is, what it is used for, and how we use its syntax.

The full form of HTML is Hypertext Markup Language, and we use it to design web pages. It allows us to design texts and images.

With HTML, we can use syntax to set the structural format of our web pages and style them. So, let’s get started, friends, with a few interesting facts about HTML. Mostly, we use the <HTML> tag in this.

Introduction to HTML

In HTML, What Is The Basic Structure Of An HTML Document we usually use tags to develop our web pages, and a tag starts with, for example, and ends with. We can also save the coding of our webpage in Notepad format and run the result in Notepad. In HTML, multiple tags are used, such as <br> for a line break,<b> for bold text, and so on. In this article, I will mainly provide you with information about tags.

Basic HTML Document Structure

what is the basic structure of an html document

So here you saw that first, we started the HTML page with the<HTML> tag, then we took the tag <head> Then we took the tag <body>, and then we placed the text inside the body that we wanted to display on our page. And we have made our text bold by adding the tag<b>. I will also show you a sample run of this.

You can use the w3school site for testing; here you can code your HTML page according to you, and you can also use it by pressing the run command.

For MS Word Knowledge please Visit Link

Creating Your First HTML Document—Getting Started

HTML Document Body:

So here we will explore how we can use multiple tags to make our page more effective.

Heading Elements:

<h1><h2><h3><h4><h5><h6> : Mainly, there are six types of heading tags used, from <h1> to <h6>, and we can use these headings like <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.
<p> For a paragraph, you can use <p> tags for making it smooth.
<br>: You use the <br> tag to create breaks in your content, like this is the paragraph, and you can use this <br> to insert a break in your paragraph, creating space in between. 
<img> : If you want to create a link in your image, like an internal or external link, you can use the anchor tag like this: <img src="buzztechie.jpg" alt="buzztechie.com" width="104" height="142">
<ul>: It defines an unordered (bulleted) list. 
<table>: The table tag helps you define your table; you can define rows and columns in it.
<ol>: It helps in defining the order list in HTML.
<li>: The "li" tag is used to define list items in "ul" and "ol" tags.
<tr>: The "tr" tag is used to define rows in a table.
<td>: The td tag is used to define a cell in a table.
<form>: The form tag defines an HTML form for user input.
<input>: The input tag is used for entering data in a form.
<button>: The button tag helps you in creating action buttons.
<div>: The div tag helps in grouping and styling your content.
<footer>: The footer tag helps to define the footer of your content.
<header>: The header tag helps define the header of your content.
<section>: The section tag helps define the sections of your content.
<article>: The article tag helps make your content a self-contained piece of content.
<nav>: The nav tag helps provide navigation in your content.

Frequently Asked Questions

Which HTML element is used to specify the main content of a webpage, including headings, text, paragraphs, images, tables, etc.?

<!DOCTYPE html>

How do you identify the language of the document?

Using <lang> tag we can identify it.

What is the Basic Structure of an HTML Document ?

Here you can see, we started the HTML page with the<HTML> tag, then we took the tag <head> Then we took the tag <body>, which you can use as a text container and can write your content. And we have made our text bold by adding the tag<b>. then we have to close the </body></head></html> tags.

Leave a Comment