Test Problems

Test Problems - 41. Show how to correct the xhtml code...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 41. Show how to correct the xhtml code below : <table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center" > <h1>nice paragraph</h1> <tr> <td> This is a one cell table with <br/> a dark yellow background<br/> and no border </td> </tr> </table> 42. The following is a two column table. Show how to change the background color of the first column to yellow (#ffff00), and the background of the second column to blue (#0000ff). Use the "bgcolor" parameter. The background of the whole table has been set to white (#ffffff). < table width="250" border="1" bgcolor="#ffffff" cellpadding="15" cellspacing="0" align= "center"> < tr > < td >This is a centered two column table with a thin border, and two background colors < /td > < td ><div align="center"> <img src="swamp1.jpg" width="115" height="88" border="1" alt="swamp" /></div> < /td > < /tr > < /table > 43. The following absolute URL ends in a trailing forward slash with no file name: http://xythos.lsu.edu/users/asmit5/portfolio/ Show an equivalent absolute URL to the one above which shows the file name it refers to. 44. Correct a mistake in the link below. The link exists in a file called index.html and refers to a file letter2.html . Both files index.html and letter2.html reside in the same directory. <a href="letters/letter2.html">Letter #2</a> Test Problems Web Page Design - Answers XHTML is a stricter and cleaner version of HTML. Valid XHTML Syntax: XHTML elements must be properly nested XHTML elements must always be closed XHTML elements must be in lowercase XHTML empty elements must either have an end tag or the start tag must end with /> XHTML attribute values must be quoted XHTML documents must have one root element...
View Full Document

Page1 / 13

Test Problems - 41. Show how to correct the xhtml code...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online