Differentiate between container and empty elements in HTML. also give any two examples of HTML tags from each category ........(please write 5 points )
Answers
Answered by
377
Hey mate
Here's the answer
Container Elements:- 1. In HTML, the tags that include both ON and OFF tags are termed as container elements.
2. A tag is opened using < > opening angle brackets using with closing brackets < / >.
3. For example: <HTML> shows the opening tag and </HTML> shows the closing tag.
Empty Elements:- 1. Empty elements only contain ON tags .
2. They do not have OFF tags.
3. These elements do not enclose any data.
4. Instead they do something on their own.
5. For example: <BR> tags breaks the line and displays the text from the next line.
Hope this'll help you...
Please mark me as BRAINLIEST...
Thank you.
chaandralekha95:
please refer from your book
Answered by
13
The difference between the container and empty elements in HTML is listed as follows;
Elements of a Container:
- Container elements in HTML are tags that incorporate both on and off tags.
- Opening angle brackets with closing brackets are used to open a tag.
- For example, the tags <HTML> and </HTML> display the beginning and closing tags, respectively.
Empty Elements:
- Only on tags are present in empty elements.
- There are no off tags on them.
- These items do not contain any information.
- Instead, they take initiative and accomplish something on their own.
- <BR> tags, for example, break the line and display the text from the following line.
Similar questions