Computer Science, asked by nandhinimcivil44031, 9 months ago

Differentiate between empty tag and non-empty tads.

Answers

Answered by anshu12371
1

Explanation:

Hello!

They are entirely two different things.

(1.)Container tags: This are tags with an opening and closing tags, The reason for the name is simple - the text or object 'contained' within the opening and closing command is acted upon by the function of the command, such as the following:

<B> This text should be bold <B/>

The function of the opening and closing tag ”<B><B/> “ is to act upon the text between them by making the text bold (darker).

(2.)Empty tags: They are tags that don’t accomodate data that is type between the opening and closing tags for example.

<hr/> :It creates a horizontal rule.

<br/> :It creates a line break.

<<img/> : It embeds an image.

Nevertheless, always remember to type a space plus a forward slash before closing it with an angle bracket.

Answered by smartydevil
2

Answer:

A container tag is one which has to be closed and an empty tag does not need to be closed. The container tag always wraps around text or graphics. Empty tags do not have to be wrapped around text and do not require a closing.

Explanation:

Similar questions