March 01st, 2007 | Category:
NED11
- 1. How do you provide invisible information on a Web page that allows you to only provide messages for people who read your HTML code?
<!--This comment will not be displayed-->
- 2. How can you make your text appear on a Web browser exactly as you typed it in your HTML code?
- Use
<pre> tag
- 3. How can you provide additional information in HTML in the form of a small pop up message that is otherwise not apparent if you don’t roll your mouse over it?
- Use
<title> tag
- 4. How can you create a hypertext link that will allow you to link to a specific part of the same page?
- Use an anchor.
- 5. If you were to create an empty table of two rows by two columns, what do you need to do to it to show the borders around each empty cell?
- Define border preferably in CSS using similar to the following rule:
td {border:1px solid #000;}
- 6. How do you turn an image into a hypertext link? How do you influence whether or not such an image has a border?
- Define
a img {border:none;} in CSS.
- 7. How do you change the colors of your hypertext links? How do you change the background color?
- Again preferably in CSS for example:
a:link, a:visited {color: #777;}
a:hover {background-color: #777; color:#fff;}