Skip to main content

Meta Tags

We discussed earlier how search engines can use keywords and content to search for a web page. This can be coded using the meta tag <meta>. Meta tags are placed between the header tags <head></head> and before the body tags. Here is an example:

<Meta name="keywords" content="cars, auto, speed, fast, crash">
<Meta name="description" content="This site is about cars">

Meta tags are also useful for telling the browser the HTML version of the page, refreshing the page and telling the browser what window to open. The screenshot below shows the results of a search using the keywords 'car', 'auto crash' and 'speed' to find websites. Note that the keywords found are in bold.


Next: Frames