Computer Science, asked by rajanushka24877, 11 months ago

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 chaandralekha95
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
rajanushka24877: Thanks...
chaandralekha95: Your welcome
Answered by SmritiSami
13

The difference between the container and empty elements in HTML is listed as follows;

Elements of a Container:

  1. Container elements in HTML are tags that incorporate both on and off tags.
  2. Opening angle brackets with closing brackets are used to open a tag.
  3. For example, the tags <HTML> and </HTML> display the beginning and closing tags, respectively.

Empty Elements:

  1. Only on tags are present in empty elements.
  2. There are no off tags on them.
  3. These items do not contain any information.
  4. Instead, they take initiative and accomplish something on their own.
  5. <BR> tags, for example, break the line and display the text from the following line.
Similar questions