Computer Science, asked by kb224638, 11 months ago

Explain the structure of HTML document​

Answers

Answered by rohanpawar10906
51

Answer:

HTML stands for HyperText Markup Language and is the basic structural element that is used to create webpages. HTML is a markup language, which means that it is used to “mark up” the content within a document, in this case a webpage, with structural and semantic information that tells a browser how to display a page. When an HTML document is loaded by a web browser, the browser uses the HTML tags that have marked up the document to render the page’s content.

There are three types of code that make up a basic website page. HTML governs the structural elements, CSS styles those elements, and JavaScript enables dynamic interaction between those elements.

HTML structure + CSS style + JS interaction = web page

Elements and Tags

HTML elements and tags work together to mark up content. HTML elements indicate the purpose of a tag and tags indicate the beginning and the end of an element.

For example, here is a simple paragraph in HTML:

<p>This is a paragraph.</p>

The letter “p” represents the paragraph element. In this example, <p> is an opening tag that tells the browser that the content that follows it is a paragraph. The slash in the second tag, </p>, indicates that it is a closing tag that tells the browser that the paragraph element is ending and that any content that appears after it is not part of the paragraph. You may encounter serious display issues if you don’t remember to “close” each tag because the browser will interpret this pattern as meaning that the element identified by the opening tag should continue for the rest of the page.

element and tag labeled

You can find a full list of all HTML elements at the Mozilla Developer Network HTML Element Reference Page.

Explanation:

please mark y

as brainlest answer

Answered by shivaprasadvangalasl
5

HTML document It's a text document saved with the extension.

  • HTML or. HTML that contains texts and a few tags written between "< >" that offer the directions required to put together the online page.
  • These tags are mounted and definite and can be presently explained within the tutorials once applied and needed.
  • associate degree hypertext markup language

The document is especially divided into 2 parts:

  • HEAD: This contains the data regarding the HTML document.
  • For Example, the Title of the page, version of HTML, Meta Data, and so forth
  • BODY: This contains everything you would like to show on the online Page

The essential structure of any HTML document consists of the subsequent sections or elements:

  • The DTD ( ! DOCTYPE declaration).
  • The most instrumentation ( hypertext markup language element).
  • the pinnacle section ( head element).
  • The body section ( body element).

associate degree HTML four document consists of 3 parts:

  1. a line containing HTML version information,
  2. a declarative header section (delimited by the pinnacle element), and
  3. a body, that contains the document's actual content.

#SPJ2

Similar questions