☺ ☺ What are the basic structure for an HTML document? ☺ ☺
Answers
<Html>
<head>
<title>................</title>
</head>
<body bgcolor=" " text=" " >
..........
..........
</body>
</html>
hope it helps you
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 -
- 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 <.
- 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>