InterviewSolution
| 1. |
What Is Attributes? |
|
Answer» To DEFINE attributes, we use a comma seperated list of attributes, in PARANTHESIS. Class and ID attributes have special representations. The following line of code covers defining attributes, classes and id for a given HTML tag. div.container.COLUMN.main#DIVISION(width="100",height="100") This line of code, get converted to: <div class="container column main" id="division" width="100" height="100"></div> To define attributes, we use a comma seperated list of attributes, in paranthesis. Class and ID attributes have special representations. The following line of code covers defining attributes, classes and id for a given html tag. div.container.column.main#division(width="100",height="100") This line of code, get converted to: <div class="container column main" id="division" width="100" height="100"></div> |
|