Computer Science, asked by singhajit64476, 2 months ago

what is basic structure of an HTML document ??​

Answers

Answered by Anonymous
3

The basic structure of an HTML page is given in the attachment.

HTML is a markup language, which use tags :- special keywords surrounding by < and > ( angular brackets ). These tag help us creating html elements.

<DOCTYPE > It informs the browser about the type of html document. i.e. it defines the document type.

<html> </html>

The whole webpage lie inside this tag. The starting tag is : <html> followed by the ending tag </html>. It represents the root of the document.

<head></head>

This tag lies inside the html tag and contains information about the document.

<title></title>

This tag lies inside the head tag and contains the title of the document which will be displayed on the the top of the webpage.

<body></body

This tag contains all the content that will be visible on the web page.

There are a lot more tags that can be placed inside head and body tag. But these are the most basic ones.

Attachments:
Similar questions