![]() |
|
|
Elements, tags, attributes & values |
|
Super Moderator
![]() Posts: 10,639
Location: Blackpool. UK
|
There is a common misconception especially in the SEO community over some components used in HTML documents, the most common one being the alt attributes of the image element. It is all too often referred to incorrectly, as an alt "tag".
This mis-information has spread and perpetuated, due in no small part to the proliferation of SEOs who have very little or no experience at all with the technicalities of HTML or website / webpage design. So to try and redress the balance a little, we have a short tutorial / reference to what each item is. Elements and Tags tags are the start and end delimiters of HTML elements. A start tag would look like this: <title> and an end tag for the same element would be exactly the same, only with a forward slash "/" before the element name. so it would be </title> The majority of HTML elements consist of a start tag and an end tag with the content of the element located in-between them. HTML Code:
<title>This would be the page title</title> These are element that do not have a separate content part, rather the content that is displayed or indicated by the element is referenced in an attribute. The self closing element most used in webpage design is probably the image element. alt and title attributes Here is where much confusion has been created. The alt attribute of the image element is of particular interest to anyone looking to optimise their pages for search. The attribute exists to provide alternate text to be displayed in user agents that are not enabled with image rendering capabilities. As search engine indexers cannot "read" or "see" images, the content of the alt attribute, the alt text, is used to determine the context of the image OR, if the image is used as a link the alt text is used as the anchor text. For the SEs where anchor text is used to reinforce the target page content, this is an important point. BUT it is NOT a tag it is an attribute. As with all visible HTML elements, the image element has a "title" attribute which has absolutely no use for search but should NOT be confused with the title element, which is without doubt the most important element on the page. HTML Code:
<img src="image_path" alt="This is the alternate text" title="This is the title text" >
nofollow is a means that has been developed by the three major Internet search engines where webmasters can show that an external link is NOT vouched for by the site owner and should not be used by the SEs to give value or weight to the target site. However, the implementation of the nofollow differs between the various engine, so it should NOT be taken as an absolute that applying a nofollow to external links will safeguard a page from incurring whatever "penalties" exist for linking to pages that are regarded as "bad neighbourhoods" by the SEs. The nofollow is NOT a tag and it is NOT an attribute. It is a value that can be applied to the rel attribute of anchor elements. This attribute is used to indicate a relationship for the anchor or link element to the resource indicated in the href attribute, as used for external style sheets, (rel="stylesheet") HTML Code:
<a href="target_url" title="Some title text" rel="nofollow">Anchor Text</a>
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System Last edited by chrishirst : 03-08-2008 at 04:41 AM. |
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Re: Elements, tags, attributes & values |
|
Super Talker
Latest Blog Post:
Web Hosts Becoming Website Package Providers Posts: 136
Name: Scott Frangos
|
Hi -
Helpful post, thanks. A couple of notes and questions:
Scott
__________________
Scott A. Frangos, Technical Writer & BlogMaster - Blog Services: WebFadds.com - BLOG: OpenSourceWebMaster.com |
|
|
|
|
|
Re: Elements, tags, attributes & values | |
|
Super Moderator
![]() Posts: 10,639
Location: Blackpool. UK
|
Quote:
Again for both points, Whether SEs "honour" the nofollow value or what weight they put on the alt text is NOT the topic of the thread and it was not and is not the reason I wrote the post. but just for the record, the "weighting" of the title attribute of ANY element is 0, tested and proven!
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Skilled Talker
Posts: 50
|
This is a very helpful information Sir... Thanks for sharing this...
|
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Hey.....
Latest Blog Post:
How to Fix the SRG Clean Archives Wordpress 2.5 Pl... Posts: 1,558
Name: James, if you couldn't tell from my username
|
I think this is just a copy and pasted article
:http://www.candsdesign.co.uk/article...es-and-values/ Seriously though, these are good tips, I think you should sticky this thread.
__________________
Read this if you are new. | PageRank only applies to Web PAGES. Conspiracy-Forums - THE Place to discuss Conspiracies |
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Canadastaninianite
Latest Blog Post:
A Strange Forum Policy: The Boutique Board Posts: 5,947
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
So Hirst is stealing content from himself now? It's not bad enough that he steals mine...he's got to steal his own now, too.
![]()
__________________
Search Engine Friendly Layouts | Walk on My Path (my blog) eBay Caters to Content Thieves (with proof) |
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Novice Talker
Posts: 9
Name: Express SEO
|
__________________
|
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Super Moderator
![]() Posts: 10,639
Location: Blackpool. UK
|
'scuse me while I stop laughing
![]()
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
|
|
Re: Elements, tags, attributes & values | ||
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,070
Name: John Alexander
|
Quote:
Quote:
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
||
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Novice Talker
Posts: 9
Name: Express SEO
|
Do one thing go to Pagal Khana. You are mental..
__________________
|
|
|
|
|
|
Re: Elements, tags, attributes & values |
|
Super Moderator
![]() Posts: 10,639
Location: Blackpool. UK
|
That's as maybe, but you were the one who commented on my post being "Stolen Material" from my site
![]() Though actually it's really the other way around I wrote the post here then expanded on it a little.
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |