Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
Why is the following element not well formed? How would you correct it?
<img src="logo.jpg" alt="Wizard Works"> |
It is not entered as a one-sided tag . correct form
<img src="logo.jpg" alt="wizard works" /> |
|
Why is the following element not well formed?
<input type="radio" disabled /> |
The disabled has no value the correct form is
<input type="radio " disabled="disabled" /> |
|
Why is this code sample not valid under the strict XHTML?
<blockqoute> For more information go to the <a href ="faq.htm">Faq page </a> </blackqoute> |
the blockquote element cannot contain the a element
|
|
Why is the following element not valid under strict XHTML? Suggest a correction problem
<img src="logo.jpg" alt="Wizard Works" align="right" |
The align attribute is not support attribute attribute in the strict DTD . You can correct this as follows.
<img src="logo.jpg" alt="wizard works" style="float: right" /> |
|
Why is the following code not valid under the transitional DTD
<map name="parkmap"> |
<map name="parkmap" id="parkmap">
|
|
What line would you add to the start of your XHTML. file to declare it as an xml document?
|
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
What declaration would you add to you XHTML document to associate it with the XHTML 1.0 transitional DTD?
|
<!DOCTYPE html PUBLIC "-//W3C//DTD xhtml11-transitional.dtd">
|
|
What is character encoding? What are two default encodings supported by all browsers?
|
Character encoding is a process by which a character set is translated into bytes (and vice versa) for transfer over the internet . UTF-8 and UTF -16 are the default codings
|
|
What attribute would you add to the html element to place your document in xhtml namespace.
|
<html xmlns=http:://www.w3.org/1999/xhtml">
|
|
An Xhtml transitional validaiton test reports the following error:
Line 51, column 3: end tag for "br"omitted, but OMITTAG NO specified <br> Suggest the cause |
The br element should be created as an empty tag as <br/>
|
|
A validation test under test under XHTML 1.0 strict reports the following error: Line 22 column 1: there is no attribute name
|
Replace the name attribute with the id name as followed
<form id="orders"> |