HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 4. HTML TAGS AND ATTRIBUTES 44


Required Answer:no


Colonsdo not have any special meaning in this part of HTML. They do
have special meaning within a URL, and after a CSS attribute name, but
not here.


Exam Question 72(p.340):If an HTML attribute’s value includes a colon
(:) does that force it to be quote marked?
Required Answer:no


Dots, also known as decimal points, periods, or full stops, do not have any
special meaning in this part of HTML. They do have special meaning within
a URL, but not here.


Exam Question 73(p.340):If an HTML attribute’s value includes a dot
(.) does that force it to be quote marked?
Required Answer:no


Exam Question 74(p.340):If an HTML attribute’s value includes a dash
(-) does that force it to be quote marked?
Required Answer:no


Slashesdo not have any special meaning in this part of HTML. They do
have special meaning within a URL, but not here.


Exam Question 75(p.340):If an HTML attribute’s value includes a slash
(/) does that force it to be quote marked?
Required Answer:no


Percentsdo not have any special meaning in this part of HTML. They do
have special meaning within a URL, but not here.


Exam Question 76 (p.340): If an HTML attribute’s value includes a
percent (%) does that force it to be quote marked?
Required Answer:no


Ampersandsdo not have any special meaning in this part of HTML. They
do have special meaning in creating character references, but that does not
affect us here.


Exam Question 77(p.341): If an HTML attribute’s value includes an
ampersand (&) does that force it to be quote marked?
Required Answer:no


If you are not quoting the value, you must leave a space after it, or you must
end the tag immediately. Watch out for this situation:

Free download pdf