You can start making money right away click here

Saturday, July 31, 2010

XHTML page with considerations of search engine optimization

Obviously content is very important for search engine optimization. But equivalently Code your pages using external CSS and JavaScript and use relevant and semantic XHTML formatting which will be part of on-page optimization.


Benifits Of XHTML
  • Strict XML syntax encourages authors to write well-formed markup, which some authors may find easier to maintain
  • Integrates directly with other XML vocabularies, such as SVG and MathML
  • Allows the use of XML Processing, which some authors use as part of their editing and/or publishing processes  
Definations of XHTML

•XHTML (Extensible Hypertext Markup Language) is a family of XML markup languages that mirror or extend versions of the widely used Hypertext Markup Language (HTML), the language in which web pages are written
•The next generation of HTML, compliant with XML standards. Although it is very similar to the current HTML, it follows a stricter set of rules, thus allowing for better automatic code validation.
•A general purpose markup language that utilises existing and future XML elements to present information on the WWW

Impotant XHTML elements

1. First declare document type: Always remember to include the correct DOCTYPE to tell the browser which version of XHTML you are using
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
2. Assign the document an xmlns attribute and set page language code
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
3. Declare head element of the page  <head>
4. Declare Character set used in the page
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
5. Declare page title element
<title>Page Title </title>
6. Declare the page description
<meta name=”description” content=”page description” />
7. Include external CSS and Javascript files.
<link href=”css/styles1.css” rel=”stylesheet” type=”text/css” media=”all” />
<script src=”js/fngetScript.js” type=”text/javascript”></script>

8. Close the head element
</head>
9. The document Body
  <body>

Important XHTML elements of a page

<h1></h1>
only one <h1> element on a page and like the page title it should be a short description on the page text content.it means <h1> tag should be used to represent the main topic of the page.
<h2></h2> / <h3></h3>
we can use sub heading h1 to h6. If one header is a sub-topic of another header use the next level header.
<p></p>
The paragraph tag
<em></em>
Used to italicize text. Like the <strong> tag the search engines will put emphasis on text inside this tag
<strong></strong>
Used to bold text.
<a></a>
<a href=”pagename” rel=”nofollow”>
<img>
 include an image ALT attribute along with width and height
<img src=”image.gif” width=”150” height=”60” alt=”Image keyword” />
 
Here you should remember to close all the tags. Never over-use <DIV> tags. Use <DIV> tags only in the appropriate places. but it would be more appropriate if you use the <UL> tag instead.Validate your webpage as and when it is being developed.

No comments:

Post a Comment

Loading...

Labels

.net Framework and seo (1) (CSS) Working Group (24) •Tracking Preference Expression (DNT) (2) 301 redirection (1) Abstract Syntax Notation Draft (1) Accessibility (1) Adobe (1) AFRINIC (1) Agent Accessibility Guidelines (1) Alexa Rank (1) analytics (2) API for Media Resources (3) APNIC (1) App Planet (1) architecture (1) ARIN (1) Article marketing (2) ASP.NET (3) ASP.NET Routing (1) ASP.NET4 (3) ATAG (2) Audio API Specifications (1) Audio Processing API (1) audio streams (1) Audio Working Group (5) back links (4) BAD (1) Bing (2) blogger (3) bounce rate (1) browser (2) Buenas Practicas en Web Móvil (1) Candidate Recommendation (1) Canonical EXI (1) Cascading Style Sheets (6) Cascading Style Sheets (CSS) Working Group (17) CCXML (2) CEA608 (1) CEA708 (1) CeBIT (1) CeBIT 2014 (1) China (1) CipherReference (1) CodedProperties (1) Comviva (1) Content (2) Content Module (1) Content Security Policy Draft (1) cryptographic (1) css (29) CSS 2D (1) CSS box (1) CSS Fonts Module (2) CSS Fonts Module Level 3 (2) CSS Print Profile (1) CSS Regions Module (1) CSS Speech Module (1) CSS Text Decoration Module (2) CSS Transforms (1) css Working Group (17) CSS3 (3) CSS3 Ruby Module (1) CSSOM (3) CSV on the Web Working Group (1) CWI (1) Danny Sullivan (1) Data Activity (5) Data Cube (1) Data Formats (1) Datability (1) datasets (1) Device and Sensors Working Group (2) Device APIs Working Group (12) DeviceOrientation Event Specification (1) DFKI (1) Digital Ink Standard (1) Digital Publishing Interest Group (2) Digital Signage (1) Directories (1) DMCA (1) DNT (4) Do Not Track (1) Do Not Track and Beyond (1) Document Object Model (DOM) (2) Document Object Model Events Level 3 (1) DOM (5) Domain Age (2) Domain Extension Time (1) Domain Name (1) DOMMatrix (1) Draft of Selectors (1) DTD (1) Dublin (1) Easy-to-Read on the Web Symposium (2) ECMAScript (1) Education and Outreach Working Group (2) Efficient XML (1) Efficient XML Interchange Working Group (1) eGovernment Activity (2) email marketing (1) EMMA (1) Emotion Markup (2) Encrypted Media Extensions (1) EOWG (3) EPUB (1) Extensible Markup Language (XML) Activity (9) Extensible Stylesheet Language (2) external links (2) Facebook (3) Facebook fans (2) Favicon.ico (1) Fonts Activity (1) Food (1) Food and Agriculture Organisation of the United Nations (1) food order (1) Forms Working Group (1) fragment identifiers (1) Free Blog Directories (1) Game development in HTML5 (1) Geolocation API Specification (3) Geolocation Working Group (3) GeoRSS (1) github (1) GML (1) google (12) Google analytics (1) Google base submission (1) Google Maps (1) Google PageRank (2) Google Places (1) google search (20) Government Linked Data Working Group (2) Graphics at W3C (1) Header Tags (2) Home Networking Scenarios (1) HTML (21) HTML Activity (7) HTML Canvas 2D Context (1) HTML Media Capture (1) HTML Working Group (11) html-css (8) html5 (26) HTML5 Audio and Video (1) HTTP (5) HTTP entity body transfers (1) IDCC11 (1) IDPF (1) IEEE floating-point decimal (1) IETF (2) IIS (1) Indexed Database API (1) Ink Markup Language (1) InkML (1) inria (1) Interaction Domain (1) Interchange Working Group (1) Interest Group Note (2) Internal link building (2) Internal links (1) International Digital Curation Conference (1) Internationalization (I18N) Core Working Group (4) Internationalization Activity (6) internet (1) ISOC (1) ITS (3) javascript (5) JLREQ (1) JSON (5) Keyword Density (1) keywords (5) Last Call (2) LDP (1) Linked Data (2) Linked Data Platform (LDP) (3) Linked Data Platform (LDP) Working Group (3) Linked Data Platform Use Cases and Requirements (1) Linked Enterprise Data Patterns (1) Linking Geospatial Data (2) Live Video Stream (1) Local search engine (7) Lyon City Hall (1) Math Activity (1) Math Working Group (1) MBUI (3) media advisory (3) Media Annotations Working Group (4) Media Capture and Streams (2) Media Fragments URI 1.0 (1) Media Queries (1) Media Resources (3) Media Type Definitions (1) MediaScape (1) Meetup (1) Meta Data (1) Meta Description (1) meta tag (5) Metadata for the Multilingual Web (1) Microsoft (1) MMI Architecture (1) Mobile (1) Mobile Web and Application (2) Mobile Web Best Practices (2) MobiWebApp (3) Model-Based User Interfaces Working Group (3) multilingual audience (1) Multilingual Web (2) MultilingualWeb-LT Working Group (5) multimedia integration (1) Multimodal Interaction Activity (1) Multimodal Interaction Working Group (4) Namespaces Module (1) Navigation Timing (2) Navigation Timing 2 (1) network (1) Networked Service Discovery and Messaging (1) NFC (2) NFC Working Group (1) nterchange (EXI) (2) NTT (1) ODF (1) OGC (2) online order (1) Online Privacy (1) Online Symposium (1) Ontology (1) Open Data Conference (2) Open Knowledge Foundation (1) Open Task Forces (1) Open Web Platform Performance Priorities (2) Open Web Technology (1) openworldforum (1) organic search listings (4) Orientation Sensor (1) OWL 2 (1) OWL2 (1) PAG (3) PAG charter (2) Page description (1) page icon (1) Page Loading (1) Page Rank (1) paid search listings (3) Penguin (1) Penguin 2.0 (2) Performance Timeline (3) PFWG (3) Pick Media Intent (1) Plenary Day (1) Points of Interest (1) PPC (1) Princeton University (1) products and services (1) Progress Events (2) Protocols and Formats Working Group (PFWG) (6) PROV Data (1) PROV Data Model (1) PROV Model Primer (1) PROV-DM (1) Provenance Working Group (1) Proximity Events (2) Publishing and Linking on the Web (1) Publishing Working Group (1) Push API (3) RDF (15) RDF Working Group (7) RDF/OWL (1) RDFa Working Group (2) RDWG (1) Reciprocal linking (3) register now (2) Registered Organization Vocabulary (1) registration (2) Research and Development Working Group (RDWG) (1) Réseaux (1) Resource Timing (2) Responsive Web Design (2) Rich Web Client Activity (27) RIF (1) RIF frames (1) RIPE NCC (1) Robots.txt (1) Role Attribute (2) Scalable Vector Graphics (SVG) 1.1 (2) Schema (1) Script-Based Animations (1) SCXML (3) search engine (5) Search Engine Marketing (8) Search Engine Marketing Tips (4) Search Engine Optimization (26) search engines (11) Security Activity (8) Security Policy (1) Selection API (1) Selectors (1) Selectors API Level 2 (2) SEM (2) Semantic Sensor Network XG (1) Semantic Web (6) Semantic Web Activity (11) Semantic Web Interest Group (2) SEO (42) seo advice (9) seo analysis (8) seo and w3c Validation (2) seo cms (1) seo for cms (1) SEO Optimization (1) SEO ranking factors (3) SEO Tasks (8) SEO Tips (17) seo tools (3) SERP (1) Shorten urls (1) Simple Delivery Profile for Closed Captions (1) single digital market (1) Site Speed (1) SOAP (1) SOAP over Java Message (1) SOAP-JMS Binding Working Group (1) Social (2) social business (2) Social Media (2) SPARQL (2) SPARQL Working Group (1) Spatial Data (2) Spider (1) SSN ontology (1) State Chart XML (SCXML) (1) storage quota management (2) Style Activity (30) stylesheets (1) SVG (10) System Applications Working Group (1) Technical Architecture Group (2) Television Convergence (1) The WebSocket API (1) Timed Text Working Group (5) Timing Control (1) tionalization Activity (1) Title Meta Tags (3) title tag (3) Title Tags (4) Touch Events (1) Touch Events Patent Advisory Group (PAG) (3) TPAC (3) TPAC 2012 (2) Transforms Specification (1) TriG (2) TTML (3) TV broadcasters (1) Twaweza (1) Twitter (1) UAAG (1) UAWG (1) Ubiquitous Web Applications Activity (20) Ubiquitous Web Domain (2) UNESCO (1) Unicode (1) url Rewrite (1) URL Rewriting (2) URL Shortener (1) Use Cases & Requirements (1) User Agent Accessibility (1) User Interface Safety Directives for Content Security Policy (1) User Timing (1) Validator (1) vCard (2) Video in the Web Activity (8) Visibility (1) Vocabularies for EmotionML (1) Voice Browser Activity (3) Voice Browser Call Control (1) Voice Browser Working Group (3) w3c (113) W3C Advisory (4) W3C Announce (24) W3C Certificate (2) W3C Co-organizes (1) W3C community (5) w3c compliance (3) w3c Cource (3) w3c Course (2) W3C Data Activity (1) W3C Digital (2) W3C Graphics Activity (12) W3C Mobile (3) W3C MultilingualWeb Workshop (1) W3C Multimodal Interaction (2) w3c Notes (7) W3C Office (1) W3C online training course (2) W3C online training courses (1) W3C online training for developers (1) W3C Patent Policy (1) W3C Privacy Activity (4) W3C Recomendation (2) W3C Recommendation (6) w3c Release (69) W3C Social Business (2) W3C staff (1) w3c standards (4) W3C SVG Working Group (11) W3C track (1) W3C Tracking Protection Working Group (5) W3C Training (2) w3c Updates (15) w3c Validator (10) W3C Web (2) W3C Workshop (8) W3C/MobiWebApp (2) W3Conf (2) W3Cx (1) W3DevCampus (5) WADEX (1) WAI (9) WAI home page (3) WAI-ARIA (5) WCAG (3) WCAG 2.0 (1) WCAG WG (2) WCAG2ICT (1) WCF (1) Web Accessibility Initiative (6) Web Accessibility Initiative (WAI) (13) Web and Mobile Devices (3) Web and Television (1) Web and TV (1) Web and TV Convergence (1) Web Annotation Working Group (2) Web API Design Cookbook (1) Web Application Security Working Group (2) Web Applications (4) Web Applications (WebApps) Working Group (1) Web Applications Working Group (14) Web Apps specifications (1) Web Architecture (1) Web Audio API (4) Web Audio Processing: Use Cases and Requirements (1) Web Best Practices Working Group (2) Web Content (2) Web Content Accessibility Guidelines (3) Web Cryptography API (3) Web Cryptography Working Group (4) Web Design and Applications (1) Web Designing (1) Web developers (2) web development (4) Web Events Working Group (1) web hosting (2) Web Hypertext Application Technology Working Group (1) Web IDL (1) Web Intents (1) Web Intents Task Force (1) Web MIDI API (1) Web NFC API (1) Web Notification Working Group (1) Web Notifications (1) Web Ontology Language (1) web page title (5) Web Performance Working Group (5) web portal (1) Web Real-Time Communications Working Group (8) Web Schemas (1) Web standards (1) Web Testing Activity (1) Web Testing Interest Group (1) Web Tracking (1) Web WG (1) Web Working Group (1) Web-based Signage Business Group (1) WebCrypto Key Discovery (2) WebFonts Working Group (1) webmaster (2) WebRTC 1.0 (2) widget package (1) Windows Communication Foundation (1) WOFF (2) Working Draft (2) Working Drafts (1) Working Group (1) workshop (2) Workshop on Web Performance (1) Workshop Report (1) World Wide Web (1) WSDL (1) WWW (1) XDM (1) XForms 2.0 (1) XForms Activity (1) XHTML (12) XHTML 1.1 (1) XHTML 2.0 (1) XHTML Print (1) XHTML+RDFa 1.1 and RDFa Core 1.1 (5) XLIFF (3) XML (23) XML (SCXML) (1) XML Activity (2) XML Core Working Group (2) XML Digital Signatures (2) XML documents (2) XML Encryption (1) XML markup (1) XML Query Working Group (5) XML Schema (2) XML Schema Working Group (2) XML Technology (1) XPath (4) XQuery (7) XQuery Working Group (1) XSD (2) XSD datatype (1) XSL-FO (1) XSLT (4) XSLT Working Group (5)