<q> </q> can be used for inline quotations, as compared to <blockquote> </blockquote> which separates the quote from the text with line breaks. Example: This is a q quote
(any " markers that appear are down to the way your browser handles q.) and
this is a blockquote.
The Q tag may also be used as a peg from which you can hang your CSS rules:Q {color:olive;} etc..
e.g.
This is an olive quote
. Q takes one attribute, cite which can hold the URL of the document from which the quote was taken. Netscape4 does not support the q tag.
Top
var value = document.formname.groupname[index].value;
document.formname.resetname.value = "new text";<input type="reset" name="ID" onclick="my_clickfunc();">| Aqua #00FFFF | Navy #000080 | ||
| Black #000000 | Olive #808000 | ||
| Blue #0000FF | Purple #800080 | ||
| Fuchsia #FF00FF | Red #FF0000 | ||
| Gray #808080 | Silver #C0C0C0 | ||
| Green #008000 | Teal #008080 | ||
| Lime #00FF00 | Yellow #FFFF00 | ||
| Maroon #800000 | White #FFFFFF |
Robots (or spiders) are automated information retrieval programs collecting data for search engines. There is a standard way of communicating with these robots - intended to control their movements so that the site designer can prevent access to certain areas, for example, directories without html content. As an alternative to the usual "robots.txt" file, you can use <meta> tags to control the robots. To prevent further indexing of your pages, use the following tag in the page: (The tag is not well supported.)
<meta name="robots" content="noindex, nofollow">
The robots.txt file consists of one or more records separated by one or more blank lines. Each record contains lines of the form "field":"optionalspace""value". The field name is case insensitive. Comments can be added using #. Example:
# robots.txt for http://www.codehelp.co.uk
Robot: * #any and all are to follow these rules.
Disallow: /notthisfolder/ #ignore this folder.
Disallow: /northisone/ #ignore this folder too.
The robots.txt file needs to be in the main index directory of your
site. For more information on robots, email me or
search for robots.txt in a search engine.
Top
Changing an image when a visitor points to an area.
Based on a section in
HTML4 - Visual Quickstart Guide. This method uses three images and can be slow. Faster code is explained in the HTML4 book above. First create the link as normal, then use the onmouseover attribute.
onmouseover="document.imgname.src=´imageon.png´"
followed by the onmouseout attribute within the same link:
onmouseout="document.imgname.src=´imageoff.png´"
Then close the link and enter the image tag that will hold both images.
<img src="imagestart.png" name="imgname" width=w height=h
alt="image" border=0></a>
All three images share the same width and height which should be entered in place of w and h respectively. Note that not all browsers support rollovers, so make sure that the first image, imagestart.png in the example, is identifiable and make sure the ALT tag has relevant content.
Top
rows attribute: <frameset> tag. Specifies the size of the horizontal frames. See also cols. <frameset rows="25%,100,*"> sets three rows, the first 25% of the available screen area, the second precisely 100 pixels high and the third taking whatever remains of the available screen area. Take care with precise values, you have no control over the screen area your visitor chooses to make available.
Top
Example of each rule:
H1 {color:blue;background-color:transparent;}
.myclass {color:blue;background-color:transparent;}
#myID {color:blue;background-color:transparent;}