Both id
and class
are examples of which of these?
Which of these are not true of both class
and id
?
True or False: The id
attribute should be used for CSS purposes?
Why is it a bad idea to name a class something like align-left
, which reflects CSS styles?
True or False: It is possible to have multiple id
or class
names on a single HTML element.
What is the best choice for naming a class?
When adding multiple id
or class
names to a single HTML element, how do you separate them?
Which of the following is not a good use for an id
attribute?
True or False: id
and class
names should be written in all lowercase.