II. Explain the following with reference to HTML: 1. Container tags 2. Empty tags 3. Head tags 4. Body tags 5. Paragraph tags 6. Line breaks
Answers
Answer:
1.When tags are part of an element that can have content, the tags are called container tags.
2.The tags that do not contain any closing tags are known as empty tags. Empty tags contain only the opening tag but they perform some action in the webpage.
3.When writing in HTML, the <head> tag is used to contain specific information about a web page, often referred to as metadata.
4.The <body> tag defines the document's body. The <body> element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc. Note: There can only be one <body> element in an HTML document.
5.The paragraph tags are used to define a block of text as a paragraph.
6.Line breaks serve an important function in setting the rhythm of a poem, since they insert a pause between the final word of one line and the first word of the next line.