Prev | Current Page 88 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

Most search engines display a maximum of
200 characters, so 25 well-chosen words are just about all you can afford.
revisit-after, robots, and author
Other meta tags also use name and content attributes. These tags assist search engines. In
the following example, the first tag provides an indication of how often they should return
(useful for regularly updated sites), and the second tag states whether the page should be
indexed or not.


The content attribute of the robots meta tag can instead include the values noindex and
none, in order to block indexing, and follow or nofollow, depending on whether you want
search engine robots to follow links from the current page or not.
The author meta tag is of less use to search engines, and typically includes the page
author??™s name and home URL. Designers sometimes use it as a means to declare the
author??™s name and details, but it has little use beyond that.

Attaching external documents
A web page??”as in the (X)HTML document??”is primarily designed to contain content that
is structured in markup. Presentation should be dealt with via external CSS documents,
and behavior via external scripting documents. Although it is possible to work with the
likes of JavaScript and CSS within an HTML document, this goes against the modular
nature of good web design.


Pages:
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100