A screen-shot of the hypothetical web page is shown below. Click the image to zoom in.
A search engine will process all of the text seen above, which includes the following:
The title (shown on the tab at the top): "Hot Coconuts: Hot Spicy Coconuts"
The URL (address) of the web page itself: www.hot-coconuts.co.uk/index.html
The header tags (titles in the content):
Hot Coconuts
More about Hot Coconuts and Hot Spicy Coconuts
Text in the links
Meta data, such as keywords and description
Alternative text for images
All of the remaining text
The items shown in bold may be given greater importance in the algorithm used by the search engine. So a match with keywords typed in by the search engine user may result in the page being listed higher up in the search results - which is the aim of Search Engine Optimisation (SEO).
Let us assume that a search engine user enters a search for the following term: hot coconuts.
Matches to this term will be found in the following areas of the web page:
It is assumed that the highlighted blocks of text are rated higher than the paragraph text (circled).
Note: There is also matching text in hidden parts of the HTML: the meta data (keywords and description), and the alternative text for the coconut image. If you want to view the HTML then download the attachment from the Demo Web Site page.