1.Give one example for Container element and Empty element?
2.Name the components that make up the HTML code?
Answers
Answered by
0
Answer:
1.Container tags are used to enclose texts, images etc. Like <body> , <div> etc are container tags as we put some content inside them. But empty tags are used to insert something. Like if we want to insert an image or a line-break or a horizontal-line , we use <img />, <br />, <hr /> tags respectively. 2.Overview. ...
Component Architecture - the <COMPONENT> Element. ...
Defining Properties - the <PROPERTY> Element. ...
Defining Methods - the <METHOD> Element. ...
Defining Events - the <EVENT> Element. ...
Attaching Events with the <ATTACH> Element. ...
Component-specific Events and Object Model. ...
Linking Components to HTML Elements.
Answered by
5
Answer:
❥︎ANSWER:
CONTAINER ELEMENT IN HTML MEANS THAT THE TAGS CAN CONTAIN SOME INFORMATION. EXAMPLE IS HERE: <TITLE>XXXX</TITLE>
HERE, THE <TITLE>TAG HAS A OPENING TAG AND A CLOSING TAG AND IT CAN HOLD SOME INFORMATION IN IT.
AND EMPTY ELEMENT MEANS THE TAGS THAT DO NOT HAVE A OPENING AND A CLOSING TAG AND CANNOT HOLD ANYTHING IN IT. FOR EXAMPLE: <BR> THIS TAG IS USE TO GIVE A LINE BREAK. AND IT DOESN'T HAVE A OPENING AND CLOSING TAG AND IT CANNOT HOLD ANY INFORMATION, SO IT IS A EMPTY ELEMENT.
HTML CODES ARE MAINLY DONE WITH TAGS AND ATTRIBUTES. SO, THE MAIN COMPONENT OF HTML CODE IS. TAG. AND. ATTIBUTE.
Similar questions