Computer Science, asked by Jojin, 1 year ago

Write the basic structure of HTML

Answers

Answered by v917
11
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>Learning HTML.</p>

</body>
</html>

The <!DOCTYPE html> declaration defines this document to be HTML5.
The <html> element is the root element of an HTML page.
The <head> element contains meta information about the document.
The <title> element specifies a title for the document.
The <body> element contains the visible page content.
The <h1> element defines a large heading.
The <p> element defines a paragraph.


Mark as brainliest now.
Answered by Anonymous
25

Answer :-

< ! DOCTYPE html >

<html>

<head>

<title> -------- </tilte>

</head>

<body>

------

------

</body>

</html>

Explanation :-

  • <! DOCTYPE html > This element is used to specifies the type of the document. It inform the web browser about the version of the mark up language in which the page is written. It is an empty element and does not have a corresponding closing tag.
  • <html> This element is written after <! DOCTYPE html > element and defines the document as an HTML file.
  • <head> This element is a container element that includes identification and supplementary information about the document.
  • <title> This element has the title of this web page. It is displayed by title bar when you view this page in web browser.
  • <body> This element has the main content of the web page. It can include texts, image, and everything you want to display on the web page.
Similar questions