Last active
August 29, 2015 13:56
-
-
Save Jwpe/8950081 to your computer and use it in GitHub Desktop.
Common HTML elements that contribute to search engine optimization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Here are some common elements to look for in a web page's HTML code --> | |
<!-- The 'description' meta tag gives us a short summary of the page as seen | |
by search engines --> | |
<meta name="description" content="A short description of the website that will | |
show up below the page title in search engines"/> | |
<!-- The 'keywords' meta tag lists important keywords that the page wants to | |
rank well for in search engines. Using too many keywords can devalue each | |
individual keyword --> | |
<meta name="keywords" content="a,comma,separated,list,of,keywords,about,the,page"/> | |
<!-- 'a' tags are links to other web pages. Looking at what a page links to can | |
provide insight into SEO strategy. Is the page mostly linking to external sites | |
in the hope of being linked to in return? Or are the links mostly internal to | |
keep visitors on the domain? --> | |
<a href="http://domainurl.com/pageurl" title="A descriptive title of the link | |
that is useful for SEO purposes"> | |
My Link Text | |
</a> | |
<!-- Sometimes innocuous tags will have interesting 'class' or 'id' names | |
attached to them, allowing you greater insight into the purpose of a certain | |
part of a page --> | |
<a class="important-call-to-action" href="http://domainurl.com/signup"> | |
Sign up here! | |
</a> | |
<p id="top-content"> | |
Corgis are the best breed of dog ever | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment