<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>doctype &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/doctype/</link>
	<description>Feed of posts on WordPress.com tagged "doctype"</description>
	<pubDate>Thu, 21 Aug 2008 01:28:44 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Teaching HTML and CSS [#2]]]></title>
<link>http://danielmiller.wordpress.com/?p=225</link>
<pubDate>Thu, 14 Aug 2008 02:48:59 +0000</pubDate>
<dc:creator>DM</dc:creator>
<guid>http://danielmiller.wordpress.com/?p=225</guid>
<description><![CDATA[The vastness of the internet leaves a lot to imagine what exactly content sits inside in order to be]]></description>
<content:encoded><![CDATA[<p>The vastness of the internet leaves a lot to imagine what exactly content sits inside in order to be visible. After thinking about how to go about teaching how and what it takes to create websites, I realized that I need to do what I do best. I have to explain how to do things and why it works in my own way in order to keep things interesting. I am not a programmer (see my <a title="Daniel Miller" href="http://danielmiller.wordpress.com/about/" target="_self">About</a> page for more info on me) so this experiment isn't going to be your typical html class.</p>
<p>Its called the Document Object Model, or DOM, and is what one needs to be aware of when creating content in any type page. It is the official "standard for representing structured documents in a platform and language neutral manner," <a title="Web Consortium" href="http://w3c.org" target="_blank">w3c.org</a> .</p>
<p>Eh, yeah, so now that you know exactly what it "is", lets discuss what it ... is.</p>
<p>The space in which you organize your information in order for things to receive information, and do whatever you tell it to do. I view it as one piece of blackness in the vastness of the internet universe.  Being that there are multiple types of html pages (versions and compatibilities), the doctype defines the page in a "machine-readable language specifying the information of a type of HTML". You must set the doctype in order for your page to be viewed and function properly.</p>
<p>These are the ones we need to know;</p>
<blockquote><p><strong>HTML 4.01 Strict, Transitional, Frameset</strong></p>
<p>&#60;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"<br />
"http://www.w3.org/TR/html4/strict.dtd"&#62;</p>
<p>&#60;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br />
"http://www.w3.org/TR/html4/loose.dtd"&#62;</p>
<p>&#60;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"<br />
"http://www.w3.org/TR/html4/frameset.dtd"&#62;</p>
<p><strong>XHTML 1.0 Strict, Transitional, Frameset</strong></p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"<br />
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"<br />
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62;</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"<br />
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&#62;</p>
<p><strong>XHTML 1.1 DTD</strong></p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"<br />
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&#62;</p></blockquote>
<p><a title="DOCTYPE source information page" href="http://www.alistapart.com/stories/doctype/" target="_blank">[source]</a></p>
<p>The one that we will be using is this:</p>
<blockquote>
<pre>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;</pre>
</blockquote>
<p>It will comply with all major web browsers and allow us to write what we need. This snippet will go at the extreme top of the page, first thing with nothing else.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Codificación de caracteres para documentos web.]]></title>
<link>http://cuatroxl.wordpress.com/?p=115</link>
<pubDate>Fri, 25 Jul 2008 12:38:32 +0000</pubDate>
<dc:creator>cuatroxl</dc:creator>
<guid>http://cuatroxl.wordpress.com/?p=115</guid>
<description><![CDATA[Voy a hacer una pequeña introdución con una anecdota.
Suelo ír a una libreria a comprar libros; l]]></description>
<content:encoded><![CDATA[<p>Voy a hacer una pequeña introdución con una anecdota.</p>
<p style="padding-left:30px;">Suelo ír a una libreria a comprar libros; lo curioso de ésta librería es que en la puerta, con un rotulo en rojo, pone "<strong>libros en Español</strong>".<br />
Un día fui a comprar un libro, más que nada porque el autor estaba allí. Llego a la librería, entro y hablo con el <strong>autor </strong>del libro y<strong> me dice que el libro está escrito en Francés</strong>; porque el cree que ese idioma es mucho más romántico y va más acorde con los relatos que el narra en el libro.<br />
Llego a casa; contento porque traigo el libro firmado y me ha salido bien de precio. Lo abro y cual es mi <strong>sorpresa</strong>; ¡el libro está escrito en Ingles! WTF?</p>
<p>Pues bien; ahora vamos a hacer una pequeña conversión de identidates; para poder extrapolar el caso a el tema de codificación de carácteres:</p>
<p>Librería            = Servidor web(IIS, <a href="http://httpd.apache.org/">Apache</a>, ...)<br />
Autor del libro = el programador; creador del documento web<br />
El libro             = documento web<br />
yo, lector         = navegador web(<a href="http://www.mozilla-europe.org/es/firefox/">firefox</a>, Internet Explorer)</p>
<p>Lo primero; yo(como el navegador web) me acuerdo de la madre que pario al de la librería, y al autor; porque me están timando. Pero bueno ya tengo el libro y tendré que leerlo, que para eso lo he comprado, pero antes tendré que saber como tengo que leer el libro.</p>
<p>Hay una diferencia entre yo y el navegador web; el navegador web sabe muchos idiomas, pero no sabe identificarlos; esto es que hay que decirle en que "idioma" tiene que leer el libro.</p>
<p>Así que el navegador tiene una regla(porque se lo marca los estándares) y es que va a hacer caso a la librería(servidor) y va a intentar leer mi libro en Español, por lo que comienza a balbucear tonterías sin sentido(esto es lo que pasa cuando vemos webs con simbolos raros, sin acentos, ...)</p>
<p>Pero el "autor" (programador) sabe un truquito para que se salte a la librería y le haga caso a él, y le dice algo como:</p>
<p><em>"el cabecera de este documento pone que está en francés, así que léelo en francés"</em></p>
<p>Que más o menos fue lo que me dijo cuando compre el libro, así en voz muy bajita para que no me escuchase el dueño de la librería.</p>
<p>Pero claro; el navegador, con su inocencia que le caracteriza, le hace caso y comienza a leer el libro en francés, y la misma canción; a balbucear tonterías sin sentido.</p>
<p>Por lo que yo he identificado a los culpables para que estas cosas pasen;</p>
<ol>
<li>La maldita regla estándar que dice que la orden del servidor(librería) prevalece sobre la que pone el programador(el autor del libro)</li>
<li>La ineptitud del programador(autor del libro) que no sabe ni en que codificación(idioma) a escrito su propio libro(documento web)</li>
<li>Después de años de adelantos en la informática; aún hoy por hoy es casi imposible para los programas(navegador web) saber que codificación(lenguaje) tienen los documentos(libros). Se ha "avanzado" mucho con el boom de UTF8, pero aún eso no es suficiente, porque muchos programas no sabes que es ese Boom</li>
</ol>
<p>Por lo que señores programadores; poneros de acuerdo con lo que dice el servidor y poner en el Doctype la verdadera codificación de carácteres y dejen de tocar las narices.</p>
<p>update: Recomiendo esta lectura:<br />
<a href="http://www.juque.cl/weblog/2006/01/25/ascii-unicode-utf8-y-la-iatarnaaianalizaaian-parte-i.html"> ASCII, Unicode, UTF-8 y la Iñtërnâçiônàlizæçiøn - parte I</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Tragedy]]></title>
<link>http://tradingfish.wordpress.com/?p=30</link>
<pubDate>Sun, 06 Jul 2008 21:27:45 +0000</pubDate>
<dc:creator>Hector</dc:creator>
<guid>http://tradingfish.wordpress.com/?p=30</guid>
<description><![CDATA[About a month ago, I began putting together a new website for Forbes Office Furniture.  Their curre]]></description>
<content:encoded><![CDATA[<p>About a month ago, I began putting together a new website for <a title="Forbes Office Furniture (Devel)" href="http://devel.forbes.e-volare.net" target="_blank">Forbes Office Furniture</a>.  Their <a title="Forbes Office Furniture" href="http://www.forbesofficefurniture.com" target="_blank">current website</a>, while not absolutely hideous, is very clumsy and incomplete.  As I examined the client and server-side code, it became evident that someone with poor web development skills put the site together.  Examples?</p>
<ul>
<li>Absolute positioning everywhere.</li>
<li>Poor search engine optimization.</li>
<li>Dreamweaver JavaScript functions.</li>
<li>IFRAME tags.</li>
<li>Images with distorted aspect ratios.</li>
</ul>
<p>One of the main goals behind my Forbes website remake was search engine visibility.  In order to measure the impact of my search engine optimization strategy, I setup <a title="Google Analytics" href="http://www.google.com/analytics/" target="_blank">Google Analytics</a> on the current site.  One of today's referrers was <a title="Ken Bluttman" href="http://www.logicstory.com" target="_blank">logicstory.com</a>.  Out of curiosity, I visited the site, and found out it belonged to the current site's creator.  His website has some <a title="W3C Validation" href="http://validator.w3.org/check?verbose=1&#38;uri=http%3A%2F%2Flogicstory.com%2F" target="_blank">issues</a>.  Even more disturbing, he has a new <a title="Brilliant JavaScript" href="http://www.books-express.co.uk/book/9780273721536/Brilliant-Javascript.html" target="_blank">book</a> coming out in November... on JavaScript?  Have you no shame, sir?  Publishing a book on web development, while your very own site has no DOCTYPE, is equivalent to me publishing a book on heart surgery because I sliced the turkey at Thanksgiving dinner.</p>
<p>I'm no web development or JavaScript expert, but I am smart enough to know that a book like this is bad for web development.  Anyone who buys this book without significant web development experience will learn the wrong way.  It is said that cigarrettes shave years off of your life.  The publishing of this book will spawn serveral more years of bad web development.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Doctype Decoration]]></title>
<link>http://zurahn.wordpress.com/?p=52</link>
<pubDate>Thu, 05 Jun 2008 23:40:13 +0000</pubDate>
<dc:creator>zurahn</dc:creator>
<guid>http://zurahn.wordpress.com/?p=52</guid>
<description><![CDATA[
If you look at the source code a web page, you&#8217;ll see this at the top of almost every page.  ]]></description>
<content:encoded><![CDATA[<p>
If you look at the source code a web page, you'll see this at the top of almost every page.  What does it mean, and why it is there?  Apparently you aren't alone in your confusion.  A simple <a href="http://validator.w3.org/" target="_blank">validation</a> will yield ugly results.</p>
<p>XHTML is an HTML coding standard that sets rules for the otherwise extremely loosely typed HTML mark-up language.  It helps with browser standards, something most web developers should be very familiar with.  It's getting rather ubiquitous, particularly XHTML transitional, but it's not much good when you're using a Doctype Decoration.</p>
<p>A Doctype Decoration is what I call an XHTML doctype declaration on a page that fails, particularly miserably.  Just putting it there doesn't magically make the page better -- the whole point is to tell a validator what to validate.  If you're not going to bother with whether it validates or not, it has no point.</p>
<p>This page is not Valid XHTML 1.0 Transitional!<br />
Result: 	Failed validation, 1374 Errors<br />
Address: http://gamespot.com</p>
<p>This page is not Valid XHTML 1.0 Transitional!<br />
Result: 	Failed validation, 100 Errors<br />
Address: http://arstechnica.com/index.ars</p>
<p>This page is not Valid XHTML 1.0 Transitional!<br />
Result: 	Failed validation, 139 Errors<br />
Address: http://digg.com</p>
<p>This is pathetic.</p>
<p>Let's give the browser sites a run:</p>
<p>This Page Is Valid XHTML 1.0 Strict!<br />
Result: 	Passed validation<br />
Address: http://www.opera.com</p>
<p>This Page Is Valid HTML 4.01 Strict!<br />
Result: 	Passed validation, 1 warning(s)<br />
Address: http://mozilla.org</p>
<p>This Page Is Valid HTML 4.01 Strict!<br />
Result: 	Passed validation<br />
Address: http://webkit.org</p>
<p>This page is not Valid XHTML 1.0 Transitional!<br />
Result: 	Failed validation, 183 Errors<br />
Address: http://www.microsoft.com/en/us/default.aspx</p>
<p>I guess that explains the state of browser standards pretty well, now doesn't it?</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Doctype]]></title>
<link>http://objsam.wordpress.com/?p=302</link>
<pubDate>Tue, 27 May 2008 05:40:25 +0000</pubDate>
<dc:creator>Syed Aslam</dc:creator>
<guid>http://objsam.wordpress.com/?p=302</guid>
<description><![CDATA[Google Doctype is an open encyclopedia and reference library. Written by web developers, for web dev]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;"><span style="font-size:10pt;font-family:&#34;"><a href="http://code.google.com/doctype/" target="_self">Google <span class="doctype">Doctype</span></a> is an open encyclopedia and reference library. Written by web developers, for web developers. It includes articles on web security, JavaScript DOM manipulation, CSS tips and tricks, and more. The reference section includes a growing library of test cases for checking cross-browser and cross-platform compatibility.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Pareiza &lt;doctype! un &lt;meta&gt; tag ievieto&scaron;ana]]></title>
<link>http://horninc.wordpress.com/2008/04/21/pareiza-doctype-un-meta-tag-ievietoana/</link>
<pubDate>Mon, 21 Apr 2008 21:30:04 +0000</pubDate>
<dc:creator>horninc</dc:creator>
<guid>http://horninc.wordpress.com/2008/04/21/pareiza-doctype-un-meta-tag-ievietoana/</guid>
<description><![CDATA[Laiku pa laikam aizmirstas kā tad īsti pareizi iesāk &lt;html&gt; failus&#8230; ,jo jau ilgāku l]]></description>
<content:encoded><![CDATA[<p>Laiku pa laikam aizmirstas kā tad īsti pareizi iesāk &#60;html&#62; failus&#8230; ,jo jau ilgāku laiku ar : &#60;html&#62;&#60;head&#62;&#60;title&#62;&#60;/title&#62;&#60;/head&#62;&#60;body&#8230;. vien nepietiek. Lai interneta pārlūksprogramma spētu objektīvi un precīzi nolasīt &#60;html&#62; faila kodu tai ir jāzin noteikumi un parametri pēc kuriem vadīties. &#352;o kopumu tad arī dēvē par document type declaration, jeb vnk Doctype! Ikvienam &#60;html&#62; dokumentam būtu jāsākas ar &#353;o kodu, ja mēs vēlamies, lai pārlūkprogramma veiksmīgi tiktu galā ar visiem kodā sastopamajiem soļiem. Pareizi ievadītam Doctype! būtu jāizskatās &#353;ādi : </p>
<p>1: &#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;<a href="http://www.w3.org/TR/html4/loose.dtd&#8221;">http://www.w3.org/TR/html4/loose.dtd&#8221;</a>&#62; </p>
<p>2: &#60;html lang=&#8221;en&#8221;&#62; </p>
<p>Taču tas ir nepiecie&#353;ams lai pilnībā atpazītu lapā lietotos elementus, un tā lieto&#353;ana noteikti ir labs ieradums ;) </p>
<p>Vēl kāds elements kam neatkarīgi no Doctype! ir jāpievēr&#353; vērība ir &#60;meta&#62; tags. Tas pastarpināti Doctype! rūpējas par pareizu lapas nolasī&#353;anu. &#352;eit gan uzsvars vairāk tiek likts uz lapas, nevis koda saturu, jo &#353;is tags norāda uz lapas saturu (description, content, keywords, encoding). Veiksmīgi izveidots &#60;Meta&#62; tags izskatās &#353;ādi : </p>
<p>1: &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=windows-1257&#8243;&#62; </p>
<p>Kopsavilkumā veiksmīgs &#60;html&#62; faila iesākums varētu izskatīties apmēram &#353;ādi : </p>
<p>1: &#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;<a href="http://www.w3.org/TR/html4/loose.dtd&#8221;">http://www.w3.org/TR/html4/loose.dtd&#8221;</a>&#62; </p>
<p>2: &#60;html lang=&#8221;en&#8221;&#62; </p>
<p>3: &#60;head&#62; </p>
<p>4: &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=windows-1257&#8243;&#62; </p>
<p>5: &#60;title&#62;&#60;/title&#62;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Top 10 κακών συνηθειών στη συγγραφή του markup]]></title>
<link>http://leaverou.wordpress.com/?p=18</link>
<pubDate>Thu, 10 Apr 2008 12:49:15 +0000</pubDate>
<dc:creator>leaverou</dc:creator>
<guid>http://leaverou.wordpress.com/?p=18</guid>
<description><![CDATA[Το παρόν πόστ δεν έχει τόσο ως σκοπό να βοηθήσει, αλλά ν]]></description>
<content:encoded><![CDATA[<p>Το παρόν πόστ δεν έχει τόσο ως σκοπό να βοηθήσει, αλλά να τα γράψω κάπου και να ξεσπάσω διότι πραγματικά έχω κουραστεί απίστευτα να βλέπω ξανά και ξανά τα ίδια λάθη/κακοτεχνίες στον κώδικα κυρίως των πολύ αρχάριων στο αντικείμενο (ή ενίοτε αρκετά "παλιών" που απλά έχουν συνηθίσει έτσι). Το χειρότερο είναι ότι από όσα πανεπιστήμια έχω εμπειρία, είτε προσωπική, είτε μέσω φίλων, η HTML που διδάσκουν σχεδόν πάντα πέφτει σε όλα τα παρακάτω ατοπήματα. Γιατί; Ο λόγος είναι απλός. Ακολουθούν την αρχή "ο,τι δουλεύει μην το πειράζεις". Δεν έχει σημασία αν ο κώδικας είναι απαίσιος, και παρουσιάζει τα άπειρα λάθη στο validation, ή αν θυμίζει κώδικα ιστοσελίδας του 1996, αυτό που έχει σημασία για τους περισσότερους είναι ότι ...δουλεύει όπως θέλουν. Ή έτσι νομίζουν.<!--more--></p>
<ol>
<li>Έλλειψη <a href="http://www.w3schools.com/xhtml/xhtml_dtd.asp">DOCTYPE declaration</a></li>
<li>Κεφαλαία στα tags και τα attributes. Ενίοτε βλέπω και περιπτώσεις όπου τα μισά είναι κεφαλαία και τα άλλα μισά πεζά, κάτι που φαίνεται ακόμα χειρότερο.</li>
<li>Παράλειψη εισαγωγικών στις τιμές των html attributes</li>
<li>Παράλειψη δήλωσης τίτλου της σελίδας (&#60;title&#62;...&#60;/title&#62;).</li>
<li>Χρησιμοποίηση deprecated tags &#38; attributes, με top τα: &#60;font&#62;, &#60;center&#62;, &#60;u&#62;, &#60;s&#62; και από attributes τις bgcolor, vspace, hspace, link, vlink, leftmargin, topmargin, marginwidth, marginheight</li>
<li>Κλασσικότατο: &#60;script language="JavaScript"&#62;. Πόσες φορές δεν το έχετε δει;</li>
<li>Παράλειψη του closing tag στα &#60;li&#62; και &#60;p&#62; elements.</li>
<li>Παράλειψη της καθέτου (/) στα self closing tags (πχ img, input κοκ)</li>
<li>Αγνόηση των σωστών indents, με αποτέλεσμα το markup να είναι εντελώς δυσανάγνωστο.</li>
<li>Παράλειψη του alt tag στα images.</li>
</ol>
<p>Εσάς τι σας εκνευρίζει όταν το βλέπετε στο markup μιας σελίδας;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Web development mistakes]]></title>
<link>http://cssdesigner.wordpress.com/2008/04/01/web-development-mistakes/</link>
<pubDate>Tue, 01 Apr 2008 11:34:34 +0000</pubDate>
<dc:creator>frensraz</dc:creator>
<guid>http://cssdesigner.wordpress.com/2008/04/01/web-development-mistakes/</guid>
<description><![CDATA[When I surfing the internet I used to find the web is overflowing with sites that use horribly inval]]></description>
<content:encoded><![CDATA[<p>When I surfing the internet I used to find the web is overflowing with sites that use horribly invalid, broken, and inaccessible markup. Even sites built by people who have been in the web business for many years, and who really should know better, are full of problems that shouldn’t be there. The reason? Ignorance, laziness, lack of time, bad tools, you name it. Yes, I’ve been guilty of making many mistakes myself through the years. However, I do my best to learn, and avoid making the same mistakes over and over again.</p>
<p>Here’s a list, in no particular order, of some of the most common mistakes that even experienced web professionals tend to make:</p>
<dl>
<dt><strong>DOCTYPE confusion</strong></dt>
<dd>Completely missing, incorrect, or in the wrong place. I have seen <abbr title="HyperText Markup Language">HTML</abbr> 4.0 Transitional used in documents containing <abbr title="Extensible HyperText Markup Language">XHTML</abbr> markup as well as in <code>&#60;frameset&#62;</code> documents, DOCTYPE declarations appearing after the opening <code>&#60;html&#62;</code> tag, and incomplete DOCTYPES.</p>
<p><!--more--></dd>
<dt><strong>&#60;span&#62; mania</strong></dt>
<dd>A common way of styling something with <abbr title="Cascading Style Sheets">CSS</abbr> is to wrap it in a <code>&#60;span&#62;</code> element with a class attribute and use that to hook up the styling. I’m sure we’ve all seen things like <code>&#60;span class="heading"&#62;</code> and <code>&#60;span class="bodytext"&#62;</code>.</dd>
<dt>(too much) Visual thinking</dt>
<dd>Treating the web as <acronym title="What You See Is What You Get">WYSIWYG</acronym> – starting off by focusing on how things look instead of thinking about structure first, and presentation later.</dd>
<dt><strong>Lack of semantics</strong></dt>
<dd>Non-semantic markup. Basing the choice of which <abbr>HTML</abbr> element to use on the way most graphical browsers render it by default, instead of on which <strong>meaning</strong> the element has.</dd>
<dt><strong>Character encoding mismatches</strong></dt>
<dd>Specifying one character encoding in the <abbr title="Hypertext Transfer Protocol">HTTP</abbr> header sent by the server, and using another in the document. This may confuse browsers and make them display the document improperly.</dd>
<dt><strong>Bad alt-attributes</strong></dt>
<dd>Missing or useless. <code>&#60;img&#62;</code> elements with missing <code>alt</code> attributes can be found in billions on the web. Not quite as common are useless attribute values like “spacer <acronym title="Graphics Interchange Format">GIF</acronym> used to make the layout look good”, “big blue bullet with dropshadow”, and “<acronym title="Joint Photographic Experts Group">JPEG</acronym> image, 123 KB”. Remember, the alt attribute is <strong>required</strong> for <code>&#60;img&#62;</code> and <code>&#60;area&#62;</code> elements.</dd>
<dt><strong>Invalid id and class attributes</strong></dt>
<dd>Multiple uses of the same value for the <code>id</code> attribute. Invalid characters used in id and class attributes and <abbr>CSS</abbr> selectors.</p>
<p><strong>For <abbr>CSS</abbr>:</strong></p>
<blockquote><p>In <abbr>CSS</abbr> 2.1, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and <abbr title="International Organization for Standardization">ISO</abbr> 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit.</p></blockquote>
<p><strong>For <abbr>HTML</abbr>:</strong></p>
<blockquote><p>ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens (“-“), underscores (“_”), colons (“:”), and periods (“.”).</p></blockquote>
</dd>
<dt><strong>Browser sniffing</strong></dt>
<dd>Using scripts, server or client side, in an attempt to detect the visitor’s browser, and send or execute browser-specific code. Very commonly fails for reasons like new browsers, updated browsers, and user agent spoofing (Opera does this by default).</dd>
<dt><strong>Missing units in <abbr>CSS</abbr></strong></dt>
<dd>Length values (horizontal or vertical measurements) require units in <abbr>CSS</abbr>, except when the value is zero. It’s not like in <abbr>HTML</abbr>, where you can type <code>width="10"</code>. In <abbr>CSS</abbr>, it has to be <code>width:10px;</code> (or whatever unit you’re using).</dd>
<dt><strong>Browser-specific <abbr>CSS</abbr></strong></dt>
<dd>Scrollbar styling, expressions, filters etc. Proprietary <abbr>CSS</abbr> that only works in Internet Explorer. Invalid, too.</dd>
<dt><strong>JavaScript dependency</strong></dt>
<dd>Making a site depend on JavaScript. More people than you’d like are either using a browser with no JavaScript support, or have disabled JavaScript in their browser. Current stats indicate that this is 8-10 percent of web users. Search engine robots currently don’t interpret JavaScript very well either, so if your site requires JavaScript to navigate, say goodbye to good search engine rankings.</dd>
<dt><strong>Flash dependency</strong></dt>
<dd>Assuming everybody has Flash installed. Not everybody has. And most search engine robots do not (Google has reportedly started experimenting with indexing of Flash files, but they still recommend that you make sure all your text content and navigation is available in <abbr>HTML</abbr> files), so if your whole site depends on Flash being available, you’re not going to score high with search engines.</dd>
<dt><strong>Text as image</strong></dt>
<dd>Making images of text, and not providing a more accessible alternative. Not only does it take longer for visitors to download images instead of text, you also make it impossible for most visitors to enlarge the text.</dd>
<dt><strong>Bad forms</strong></dt>
<dd>Inaccessible, hard-to-use forms. Learn to use the <code>&#60;label&#62;</code>, <code>&#60;fieldset&#62;</code>, and <code>&#60;legend&#62;</code> elements, and do not use a “Reset” button.</dd>
<dt><strong>Old skool <abbr>HTML</abbr></strong></dt>
<dd>Multiple nested tables, spacer GIFs, <code>&#60;font&#62;</code> elements, presentational markup. So common I don’t really have to mention it here.</dd>
<dt><strong>Being <abbr title="Internet Explorer">IE</abbr>-centric</strong></dt>
<dd>Coding for <abbr>IE</abbr>/Win first, then adjusting for others, if there is time.</dd>
<dt><strong>Invalid <abbr>HTML</abbr> attributes</strong></dt>
<dd>Using deprecated or browser specific attributes like <code>marginwidth</code>, <code>leftmargin</code>, <code>language</code>, <code>height</code> for <code>&#60;table&#62;</code> elements, and <code>border</code> for <code>&#60;img&#62;</code> elements (in strict DOCTYPEs) just to name a few.</dd>
<dt><strong>Unencoded ampersands</strong></dt>
<dd>Many URIs contain long query strings with unencoded ampersands (&#38;). This is invalid, and may cause problems. Ampersands must be written as <code>&#38;</code></dd>
</dl>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Basic Seo Tips for Web Designer]]></title>
<link>http://webdesigninfo.wordpress.com/2007/12/25/basic-seo-tips-for-web-designer/</link>
<pubDate>Tue, 25 Dec 2007 08:57:59 +0000</pubDate>
<dc:creator>santosh setty</dc:creator>
<guid>http://webdesigninfo.wordpress.com/2007/12/25/basic-seo-tips-for-web-designer/</guid>
<description><![CDATA[After designing a layout for a web site, we obviously start converting it into HTML during this sess]]></description>
<content:encoded><![CDATA[<p>After designing a layout for a web site, we obviously start converting it into <abbr title="Hypertext Mark Up Language"><strong>HTML</strong></abbr> during this session as a web designer we mainly concentrate on cross browser compatibility but we also need to concentrate on some basic seo things like...</p>
<p><a href="#using-doctype">1. Using Correct <strong>Doctype</strong>.</a></p>
<p><a href="#using-meta">2. Using Meta Content and Meta Keywords.</a></p>
<p><a href="#using-alt">3. Using <abbr title="Alternate Text">Alt</abbr> tags for Images.</a></p>
<p><a href="#using-valid">4. Using Valid <abbr title="Hypertext Mark Up Language">HTML</abbr> and <abbr title="Cascading Stlye Sheet">CSS</abbr> code.</a></p>
<p><a href="#load-fast">5. Make your web site load fast.</a></p>
<p><a title="using-doctype" name="using-doctype"></a><strong>1. Why to Use Doctype and what does correct doctype means?</strong></p>
<p>Document type defination(DTD) is also know as Doctype, doctype informs the browser how to interpret the content of the page. If the the doctype is not declared, the browser assumes you don’t know how to code, and goes into quirks mode. If you know what you are doing and include a correct <abbr>HTML</abbr> doctype, your page will be rendered in standards mode.</p>
<p><a title="Recommended DTDs to use in your Web document." href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" target="_blank">Some Recommended DTDs to use in your Web document.</a></p>
<p>Use correct doctype, for example your using strict doctype and you use used align in in div tag or in p tag then doctype you used is not correct because align attribute  is deprecated in strict doctype.</p>
<p><a title="using-meta" name="using-meta"></a><strong>2. Using Meta Content and Meta Keywords.</strong></p>
<p>Use proper keywords and content relate to your web site,  that helps search engine to crawl your web site.</p>
<p><a title="using-alt" name="using-alt"></a><strong>3. Using <abbr title="Alternate Text">Alt</abbr> tags for Images.</strong></p>
<p>Specify <abbr title="Alternate Text">alt</abbr> tag  for image and that <abbr>alt</abbr> tag should be a keyword related to web site,  because images you have placed on site can be seen by visitors but not by search engines, so <abbr title="Alternate Text">alt</abbr> tag help search engines to read, with the help of alt tags search engines display the image results.</p>
<p><a title="using-valid" name="using-valid"></a><strong>4. Using Valid <abbr title="Hypertext Mark Up Language">HTML</abbr> and <abbr title="Cascading Stlye Sheet">CSS</abbr> code.</strong></p>
<p>Validate your html and <a title="Css" href="http://webdesigninforesourcecenter.blogspot.com/search/label/Css" target="_blank">css</a> code and make your code  w3c standard.</p>
<p>validate your html code here</p>
<p><a title="valid your html here" href="http://validator.w3.org/check?uri=referer" target="_blank">http://validator.w3.org</a></p>
<p>validate your <a title="Css" href="http://webdesigninforesourcecenter.blogspot.com/search/label/Css" target="_blank">css</a> code here</p>
<p><a title="validate you css code here" href="http://jigsaw.w3.org/css-validator" target="_blank">http://jigsaw.w3.org/css-validator</a></p>
<p><a title="load-fast" name="load-fast"></a><strong>5. Make your web site load fast.</strong></p>
<p>Don’t mess up your site with heavy images that makes your site heavy and  slow, try to optimize images that reduces weight and helps to load fast.</p>
<p>Online Image Optimizer</p>
<p><a href="http://tools.dynamicdrive.com/imageoptimizer/"><img src="http://tools.dynamicdrive.com/imageoptimizer/export/optimizelogo2.jpg" border="0" alt="Free online tool- optimize your gifs, jpg, and png images" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Estructura del html y primeros pasos del css]]></title>
<link>http://donestandares.wordpress.com/2007/12/05/estructura-del-html-y-primeros-pasos-del-css/</link>
<pubDate>Wed, 05 Dec 2007 19:29:46 +0000</pubDate>
<dc:creator>donestandares</dc:creator>
<guid>http://donestandares.wordpress.com/2007/12/05/estructura-del-html-y-primeros-pasos-del-css/</guid>
<description><![CDATA[
Hi!, Ahora vamos a comenzar con todo el cuento de la creación de paginas web con css, lo primero e]]></description>
<content:encoded><![CDATA[<p><img src="http://donestandares.wordpress.com/files/2007/12/dreamweaver.jpg" alt="Dreamweaver" /></p>
<p>Hi!, Ahora vamos a comenzar con todo el cuento de la creación de paginas web con css, lo primero es lo primero. crear un documento en dreamweaver... ó si usas archivos de texto pues creas un<strong> index.html</strong></p>
<p>Ahora, como sabes... todo tiene un orden, las etquetas html también, todo html inicia con algo llamado DOCTYPE, son algunas indicaciones como el documento y unos estandares que se manejan para el html, generalmente... para todo html se maneja la siguiente etiqueta:</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transición//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&#62;</p>
<p>La anterior etiqueta SIEMPRE va al comienzo de todo documento html, Ahora hay un dato importante. Recuerdas el xml, del que tanto hablan, pues para los que noconosen el xml es un estandar y este maneja etiquetas a la hora de escribirse, por ejemplo los RSS estan basados en xml, entonces digamos en un documento xml tenemos que insertar NOMBRE, APELLIDOS, según las especificaciones el xml debería ir así, con etiquetas según la info que vamos a escribir: &#60;nombre&#62;Andrés&#60;/nombre&#62;&#60;apellido&#62;Lara&#60;/apellido&#62;, si analizamos la etiqueta cuando quiero terminar el contenido la cierro con una etiqueta similar, pero precedida con un / , esto nos indica que la etiqueta termino, ejemplo: &#60;comentario&#62;"Hola pedrito como vas?"&#60;/comentario&#62;, ahí el comentario termina con &#60;/comentario&#62;, así se puede entender donde comienza las cosas y donde terminan, entonces estos genios... del html comenzaron a trabajar en el html y descubrieron que el html podía ser un xml... ósea si yo comienso una etiqueta la cierro con un &#60;/, y todo se dio para que crearan algo llamado xhtml, que quiere decir... un html muy parecido al xml.</p>
<p>Volviendo al tema :P la siguiente etiqueta es la <strong>html</strong>, que es la que me dice si el documento html que estoy haciendo es HTML ó es XHTML, como nosotros vamos a la delantera, y queremos descrestar a todos, vamos a usar el xhtml que es le mas estandar, el que todos usan, así que si en la calle te dicen "OYE TRABAJAS CON HTML, no! eso es del pasado yo trabajo con xhtml!", entonces seguimos, la etiqueta <strong>html </strong>va con esta estructura:</p>
<p>&#60;html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" xml:lang="es-ES" lang="es-ES"&#62;</p>
<p>Recuerda que esta etiqueta <strong>HTML</strong> esta abierta hasta el final, solo se cierra en el ultimo punto, a continuación vemos una etiqueta llamada <strong>HEAD</strong> y esta etiqueta maneja como su nombre lo dice en español <strong>CABEZA </strong>en español, esta etiqueta hasta donde se cierra maneja todo lo relacionado con titulos... iconos y otras vainas que a continuación vamos a ver, la estructura del head es simple solo abrimos la etiqueta:</p>
<p>&#60;head&#62;</p>
<p>Ahora vamos con las etiquetas <strong>META</strong>, son etiquetas que sirve para dar algunos detalles del documento <strong>XHTML </strong>por ejemplo con la etiqueta <strong>META</strong> podemos manejar las palabras claves... el autor... y la descripción del sitio, por que no me puedo demorar mucho en la explicación les dejo dos enlaces relacionados con <strong>HEAD</strong> y con <strong>META</strong></p>
<p><a href="http://gfc.edu.co/estudiantes/anuario/2001/sistemas/sergio/principal.html" title="Etiqueta head">Etiqueta head</a></p>
<p><a href="http://es.tldp.org/Manuales-LuCAS/doc-curso-html/doc-curso-html/x3606.html">Etiquetas meta</a></p>
<p>Y la estructura de las etiquetas meta viene siendo así:</p>
<p>&#60;meta name="author"<br />
CONTENT="WebMaster de Los Alpes"&#62;</p>
<p>&#60;meta name="keywords"<br />
CONTENT="viajes, ofertas, Los Alpes, Orlando, Nueva Zelanda"&#62;</p>
<p>&#60;meta name="description"<br />
CONTENT="La agencia de viajes Los Alpes tiene un gran prestigio en el mundo de las empresas y combina una gran calidad con unos excelentes<br />
precios."&#62;</p>
<p>Ahora si vamos con una etiqueta importante, la etiqueta <strong>TITLE </strong>, etiqueta fundamental si queremos hablar del titulo del documento <strong>XHTML </strong>, ¿Si han visto en las paginas web que aparece el titulo del sitio en la ventana del navegador?, esto lo podemos hacer mediante la eqitueta <strong>TITLE </strong>, su estructura es la siguiente:</p>
<p>&#60;title&#62;La empresa de mi papa.com&#60;/title&#62;</p>
<p>Ahora seguimos con algo que es muy importante entender... por eso es necesario que antes de continuar, creemos una nueva carpeta en donde estamos alojando el <strong>index.html</strong>, la carpeta deve llamarse "css", sin comillas, en esta carpeta vamos a guardar los archivos css necesarios a lo largo de toooooodo el blog.</p>
<p>dentro de la carpeta css, crea un archivo llamado: "principal.css", sin comillas, y a continuación dentro del archivo inserta el siguiente código:</p>
<p>@charset "utf-8";<br />
/* CSS Document */</p>
<p>Esa porción de código SIEMPRE deve ir SIEMPRE, ahora que creamos el archivo .css continuamos en <strong>index.html</strong>, ahora para llamar al archivo css que acabamos de crear, utilizamos una instrucción muy simple:</p>
<p>&#60;style type="text/css" media="screen"&#62;<br />
  &#60;!-- @import url(css/principal.css);--&#62;<br />
&#60;/style&#62;</p>
<p>Con esta instrucción, estamosagregando el archivo css, con esto permitimos que el archivo css quede en el caché, como algunas imagenes.</p>
<p>Ahora el paso ultimo seria cerrar la etiqueta &#60;/head&#62;, para indicar que hasta ahí va todo.</p>
<p>A continuación abrimos una etiqueta llamada <strong>BODY</strong>, y el código seria así:</p>
<p>&#60;body&#62;</p>
<p>Repasemos hasta ahora como tenemos el código aproximadamente:</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&#62;<br />
&#60;html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" xml:lang="es-ES" lang="es-ES"&#62;<br />
&#60;head&#62;<br />
&#60;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&#62;<br />
&#60;meta name="author"<br />
CONTENT="WebMaster de Los Alpes"&#62;<br />
&#60;meta name="keywords" CONTENT="viajes, ofertas, Los Alpes, Orlando, Nueva Zelanda"&#62;<br />
&#60;meta name="description" CONTENT="La agencia de viajes Los Alpes tiene un gran prestigio en el mundo de las empresas y combina una gran calidad con unos excelentes precios."&#62;<br />
&#60;link rel="shortcut icon" href="img/favicon.ico" mce_href="img/favicon.ico" type="image/x-icon" /&#62;<br />
&#60;title&#62;La empresa de mi papa&#60;/title&#62;</p>
<p>&#60;style type="text/css" media="screen"&#62;<br />
  &#60;!-- @import url(css/basico.css);--&#62;<br />
  &#60;/style&#62;<br />
&#60;/head&#62;<br />
&#60;body&#62;</p>
<p>Ahora dentro del body va el contenido del xhtml, desde tablas hasta imagenes, todo lo que vayamos a trabajar, lo anteriormente colocado es esencial para poder laborar con estos documentos ya que se hace gura que aya compatibilidad entre navegadores y entre dispositivos anteriormente comentados.</p>
<p>Para cerrar solo quedaría colocar las etiquetas finales que seria finalizar la etiqueta <strong>BODY</strong> y <strong>HTML:</strong></p>
<p>&#60;/body&#62;<br />
&#60;/html&#62;</p>
<p>y pues el código quedaría algo así:</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&#62;<br />
&#60;html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" xml:lang="es-ES" lang="es-ES"&#62;<br />
&#60;head&#62;<br />
&#60;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&#62;<br />
&#60;meta name="author"<br />
CONTENT="WebMaster de Los Alpes"&#62;<br />
&#60;meta name="keywords" CONTENT="viajes, ofertas, Los Alpes, Orlando, Nueva Zelanda"&#62;<br />
&#60;meta name="description" CONTENT="La agencia de viajes Los Alpes tiene un gran prestigio en el mundo de las empresas y combina una gran calidad con unos excelentes precios."&#62;<br />
&#60;title&#62;La empresa de mi papa&#60;/title&#62;<br />
  &#60;style type="text/css" media="screen"&#62;<br />
  &#60;!-- @import url(css/principal.css);--&#62;<br />
  &#60;/style&#62;<br />
&#60;/head&#62;<br />
&#60;body&#62;</p>
<p>&#60;/body&#62;<br />
&#60;/html&#62;</p>
<p>Espero que les aya servido para comenzar, APENAS ES LO BASICO, mas adelante iremos con mas, mañana comenzamos ya completamente con las clases :P chau!.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[XHTML - O que é?]]></title>
<link>http://rogeriolino.wordpress.com/2006/07/03/xhtml-o-que-e/</link>
<pubDate>Mon, 03 Jul 2006 19:17:28 +0000</pubDate>
<dc:creator>Rogério Alencar Lino Filho</dc:creator>
<guid>http://rogeriolino.wordpress.com/2006/07/03/xhtml-o-que-e/</guid>
<description><![CDATA[XHTML (Extensible Hypertext Markup Language) é uma linguagem de marcação baseada em XML escrita p]]></description>
<content:encoded><![CDATA[<p>XHTML (<strong>Extensible Hypertext Markup Language</strong>) é uma linguagem de marcação baseada em XML escrita para substituir o HTML.</p>
<p>No XML podemos criar nossas próprias tags, e o XHTML já vem com as tags pré-definidas baseadas nas tags já conhecidas do HTML. Utilizando as regras do XML.</p>
<p><em>Já que o XHTML usa as tags do HTML para que utilizá-lo?</em></p>
<p>Imagine que para cada página da internet que você fosse ver um código diferente. E que cada pessoa fosse definir o seu padrão. Seria muito difícil verificar se aquele código estaria dentre os padrões. É aí que entra o XHTML.</p>
<p>Para construir uma página em XHTML você deverá seguir os padrões da W3C, padronizando os códigos e tornando mais fácil sua validação e a legibilidade.</p>
<p>Por exemplo: todas as tags e seus atributos devem ser escritos em letra minúscula, todo valor dos atributos devem estar entre "" (alt="Olá"), e as tags simples devem ser fechadas com "/&#62;" (&#60;img  src="foto.gif" alt="eu" /&#62;).</p>
<p><strong>Alguns exemplos:</strong></p>
<p>Tags e atributos:</p>
<blockquote><p><strong>errado:</strong> &#60;IMG src="foto.gif" ALT="eu"&#62;</p>
<p><strong>certo:</strong> &#60;img src="foto.gif" alt="eu"&#62;</p></blockquote>
<p>Aninhamento das tags:</p>
<blockquote><p><font><strong>errado:</strong>  &#60;p&#62;parágrafo &#60;em&#62; negrito &#60;/p&#62;&#60;/em&#62;</font></p>
<p><font><strong>certo:</strong>  &#60;p&#62;parágrafo &#60;em&#62; negrito &#60;/em&#62;&#60;/p&#62;</font></p></blockquote>
<p><strong><font>O XHTML é dividido em três tipos (DOCTYPE):</font></strong></p>
<blockquote><p><font><strong>Strict:</strong> o mais rigoroso, exige que seje seguido por completamente os padrões.<br />
<strong>Transitional:</strong> transição da forma antiga de marcação para uma nova forma. Utilizado por quem ainda está preso à alguma forma antiga em seu site. Sendo um pouco menos rigoroso que o Strict.<br />
<strong>Frameset:</strong> usado quando se utiliza frames no site.</font></p></blockquote>
<p><font><strong>Principais diferenças entre XHTML e HTML </strong></font></p>
<p>Além das tags escritas em letra minúscula, o fechamento obrigatório das tags, e as aspas. Também a sintaxe dos atributos devem ser escritas por completo ( &#60;dl compact&#62; para &#60;dl compact="compact"&#62; ). E a "troca" do atributo name para o atributo id.</p>
<p>Logo  veremos mais a fundo o que são DOCTYPE e como funcionam e a declaração de um XHTML.</p>
<p><strong>mais sobre:</strong><br />
<a href="http://www.maujor.com/tutorial/xhtml.php" title="Tutorial XHTML" target="_blank">Maujor.com - Tutorial XHTML</a><br />
<a href="http://www.w3.org/TR/xhtml1/#xhtml" title="O que é XHTML" target="_blank">W3.org - O que é XHTML?</a><br />
<a href="http://www.w3schools.com/xhtml/xhtml_validate.asp" title="XHTML validation" target="_blank">W3schools - XHTML validation</a><br />
<a href="http://www.w3schools.com/xhtml/xhtml_html.asp" title="Diferença entre XHTML e HTML" target="_blank">W3Schools - Diferença entre XHTML e HTML</a><br />
<a href="http://www.revolucao.etc.br/archives/o-que-e-xhtml/" title="O que é XHTML?" target="_blank">Revolução.ect.br - O que é XHTML?</a><br />
<a href="http://www.revolucao.etc.br/archives/doctype-dtd-document-type-definition/" title="Diferença entre Strict e Transitional" target="_blank">Revolução.etc.br - Doctype</a><br />
<a href="http://www.linhadecodigo.com.br/artigos.asp?id_ac=88" title="Escrevendo um XHTML válido" target="_blank">Linha de Código - Tutorial XHTML</a><br />
<a href="http://www.linhadecodigo.com.br/artigos.asp?id_ac=88" title="Escrevendo um XHTML válido" target="_blank">Linha de Código - Escrevendo um XHTML válido</a></p>
]]></content:encoded>
</item>

</channel>
</rss>
