Computer Science, asked by smartyaryan143, 1 year ago

☺ ☺ What are the basic structure for an HTML document? ☺ ☺

Answers

Answered by smayraa
119
hii mate

<Html>
<head>
<title>................</title>
</head>
<body bgcolor=" " text=" " >
..........
..........
</body>
</html>

hope it helps you

smayraa: wlcm
kanupriya55: wrong answer
Answered by Anonymous
123

Hey there!





Q. What are the basic structure for an HTML document?

Explanation :



                                  Structure of HTML

Elements : Elements are the fundamental components of the structure of an HTML, text, documents. We use HTML tags to mark the elements of the file for our browser. Some examples of elements are heads, tables, paragraphs, and lists. Elements contain plain text other elements or both.

Tags : Tags are used to denote the various elements in an HTML document, we use tags. HTML tags consists of a left angular bracket ( < ), a tag name, and right bracket ( > ).

Tags are basically of two types -

  1. Container tags : You must have noticed that for every tag, there is a starting tag and an ending tag. These types of tags come in the category of container tags which are same as starting tags except ( / ) after <.
  2. Empty tags : These tags have only an ON tag - there are no OFF tags as it does not enclose any data. The reason for this is that they do something on their own. They do not act on block of text. An example of this would be the <BR> (Break) tag and <HR> (Horizontal Line) tag. The <BR> tag inserts a single carriage return or break into the document. The <HR> element draw a horizontal line across the page. This horizontal line can be used to divide information or sections.


-- Structure of HTML :

<html>

                   <head>

                                <title>

                                </title>

                   </head>

                   <body>

                                 This place contents that are to be displayed within the text area of your browser.

                  </body>

</html>


Prakhar2908: Awesome explanation Ma'am!
Prakhar2908: (:
smayraa: title close bhi hota hai miss
Anonymous: Oh yeah, i missed it. Thanks @smayraa
smayraa: your most welcome
kanupriya55: hi guys
Similar questions