3. Distinguish between empty and container tag.
b.
Answer the following question.
1. What is HTML?
2. What is a tag in HTML?
4. What are attributes in HTML?
5. Name the attributes of following tags:
a) <body> tag
b) <hn> tag
c) <hr> tag
:
Answers
Answer:
Container tag consists of opening tag+content+closing tag . While empty tag is tag without content or a closing tag. Container tags are used to enclose texts, images etc. ... Like you can insert a line-break or an image anywhere in your page but it should be inside some container tag.
In HTML, the container is the area enclosed by the beginning and ending tags. For example < HTML > encloses an entire document while other tags may enclose a single word, paragraph, or other elements. In HTML code, all container must have a start and stop tag to close the container.Elements with no closing tag are known as an empty tag. For eg: <br>, <link>, <img>, <hr>, <meta>, <source> etc. Since we can not specify anything in between those. HTML element which does not have a closing tag are called Empty elements.In HTML, the container is the area enclosed by the beginning and ending tags. For example < HTML > encloses an entire document while other tags may enclose a single word, paragraph, or other elements. In HTML code, all container must have a start and stop tag to close the container.The <hr> tag stands for horizontal rule, this is used for a thematic break or used for seperating content from one another. The <br> tag is used for adding a single line break without making a new paragraph.For example, the tag for a line break is <br />. Tags in HTML are not case sensitive, but in XHTML all tags must be in lower case.
...
Empty (Non-Container) Tags.
Tag Description
<br /> Causes a line break. It may be repeated for multiple line breaks.<html> is a container tag, it has it's closing tag as </html>. Other examples are <body>, <head>, <p> etc. These are called container tags because they contain something, within the two tags. ... These are called container tags because they contain something, within the two tags.
The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang .
Explanation:pls mark me as brainllist
Answer:
3. Container elements (like HTML and BODY) have bth opening and closing tags. But empty elements (such as BR) have only opening tags.
1. HTML stands for HyperText Markup Language. It is used to create dynamic webpages. It is a language that can be understood only by a browser.
2. A tag specifies the content in HTML. It states what the content is.
4. Some tags have special features called attributes which can help to empasize the text. Examples of attributes include "color" in "font" tag, "bgcolor" in "body" tag, etc.
5. a) bgcolor · text · link · vlink · alink · background · margins
b) align
c) align · noshade · size · width
Recommendation:
Please mark me the Brainliest and Click on Thanks.