Templates can’t be placed inside ______________

Templates can’t be placed inside ______________
A. <head>
B. <body>
C. <table>
D. <form>
 
Answer: d
Explanation: Templates can be placed inside <body>, <head>, <frameset>. Template can contain any type of elements. Template can be used as a child of <select> and <table> elements.
Code:
<table> <tr> <template id=“teeds”> <td>..content..</td> </template> </tr> </table>
 

Tìm kiếm

Back
Top