Tag Cloud
blog coding css design first flash fonts google google wave graphics html ie ie 8 logos silverstripe web
Browse by Date
Subscribe
bloG » The coolest HTML tags you’re not using
The coolest HTML tags you’re not using
There’s been a lot of talk lately about "Semantic HTML", or in other words, trying to use descriptive code to markup your content with. Semantic HTML is crucial for search engine optimization since it helps web crawling bots to understand your content.
There are a few HTML tags still in the W3C recommendation status that are pretty useless and should probably be depreciated, but there are others that you probably haven’t heard of that could actually be quite useful.
So the next time you’re building a webpage and you go to type <div> or <span>, stop and consider using one of these!
<base>
This tag might be the most powerful tag in this list. What it does is defines a base URL for all the links on your page. This would be useful if you could not use relative URLs for some reason. You could define your base URL as http://www.example.com/ and then make the rest of your URLs relative off of that. Then if you ever moved domains all you would need to do is change this <base> tag.
Another thing you can do with the <base> tag is specify a default target for all the links on your page. For example in your head you can say <base target="_blank" /> which would make all the links on your page open in a new window unless specified otherwise.
<bdo>
“The <bdo> tag allows you to specify the text direction and override the bidirectional algorithm.” –W3C
In other words, it writes your text backwards.
Turn this: “My name is David!”
Into this: “!divaD si eman yM”
Apparently this is useful in the middle east for languages that read from right to left, but here in America it’s completely useless. However, this could be great for mischief around the office.
<acronym> and <abbr>
This one would be especially great to see in use around where I work here in the DC area, where acronyms and abbreviations are like the plague (more on that in another blog post).
But you can define the real meaning of an acronym or an abbreviation in these tags while still using it for your body text. This will allow search engines and screen readers to be able to read the full meaning of your acronym. Also when you hover on it the little hover hint will appear with the full meaning.
<acronym title="as soon as possible">ASAP</acronym>
becomes:
ASAP
<label>
This is a great one for your forms. You use this to define a label for a form element (checkbox, dropdown, etc.) It provides a little usability improvement for mouse users, because if the user clicks on the text within the label element, it toggles the control.
<del> and <ins>
These maybe aren't the most useful tags on the list, but you can use these to make edits apparent in your page. Browsers will strikethrough deleted text and underline inserted text.
My favorite color is <del>blue</del> <ins>red</ins>!
becomes:
My favorite color is blue red!
<sub> and <sup>
Use these to define subscript and superscript text.
<address>
Wrap your mailing or physical address in this tag.
Wrapping up, here are a bunch more, I'm not sure what exactly all of them are useful for, but you should know about them anyway.
<em> Renders as emphasized text
<strong> Renders as strong emphasized text
<dfn> Defines a definition term
<code> Defines computer code text
<samp> Defines sample computer code
<kbd> Defines keyboard text
<var> Defines a variable part of a text
<cite> Defines a citation
<q> Defines a short quotation
<blockquote> Defines a long quotation
<caption> Defines a table caption
<dir> Used to list directory titles
<pre> Defines preformatted text
<big> Renders as bigger text
<small> Renders as smaller text
Read more about all these for yourself at W3C's reference here: http://www.w3schools.com/TAGS/default.asp
Post your comment
Comments
-
Thank you for that interesting post, I really enjoyed reading it.
Posted by Chicagoland remodeling, 06/02/2012 7:52am (1 day ago)
-
I was extremely pleased to find this website. I wanted to thank you for the good understand I definitely enjoying every single small bit of it and We’ve you bookmarked to check out new stuff you post.
Posted by jack wills gilet, 05/02/2012 6:11am (2 days ago)
-
What a fun pattern! It's great to hear from you and see what you've sent up to. All of the projects look great! You make it so simple to this. Thanks
Posted by Abercrombie Düsseldorf, 16/01/2012 1:27am (22 days ago)
-
They are awesome to watch and it’s important to reflect this in the footage.
Posted by Abercrombie and Fitch Düsseldorf, 16/01/2012 1:26am (22 days ago)
-
However, most other Australians would only put them under across the home or around the most just on a holiday for that regional shop.Communication,Personal computers,Female Entrepreneurs The UGG Sundance Boots Chestnut are particularly comfy,made with the very best twin-faced sheepskin and capabilities a removeable/replaceable fleece insole and also a mylar lining providing you with additional warmth.The genuine fleece sock liner suggests premium comfort and warmth and the cow suede toe and ugg boots outlet heel bumper provide durability and abrasion resistance. On the other hand as a result of trademark issues, Uggs are far more usually these days regarded inside the retail world only as Sheepskin Boots. On the other hand an American Importer (Koolaburra) presented the notion that the name Ugg originates from the way in which uggs sale usa the boot "hugs" the wearer's foot and legs.
Posted by cheap coach, 11/01/2012 8:03pm (27 days ago)
-
UGG Sundance Boots Chestnut are particularly comfy,made with the very best twin-faced sheepskin and capabilities a removeable/replaceable fleece insole and also a mylar lining providing you with additional warmth.The genuine fleece sock liner suggests premium comfort and warmth and the cow suede toe and ugg boots outlet heel bumper provide durability and abrasion resistance. On the other hand as a result of trademark issues, Uggs are far more usually these days regarded inside the retail world only as Sheepskin Boots. On the other hand an American Importer (Koolaburra) presented the notion that the name Ugg originates from the way in which uggs sale usa the boot "hugs" the wearer's foot and legs.
Posted by coach outlet, 11/01/2012 7:58pm (27 days ago)
-
Swimmers and surfers also found the item in the 1960s and took to sporting them in public even nevertheless the boots had earlier only been worn around the property.Even although one particular would consider lined sheepskin is incredibly sizzling, the way they enable air to circulate prevents feet from overheating. and impressed California surfers. Sheepskin footwear has long been well-known in the rural locations of Australia, and its recognition improved as the solution was discovered by surfers and other folks. Even people who don't personal a pair identify the models and make.
Posted by miu miu shop, 09/01/2012 1:28am (29 days ago)
-
If you are hunting for a magnificent pair that is ready to continue to keep your feet warm and dry all over the winter, UGG boots need to be your perfect alternative.
Posted by mulberry sale, 05/01/2012 9:26pm (1 month ago)
-
Whether you want a sleek lower or a hood on your jacket, Moncler has made sure that you have what you want.Always worry the sky high price for winter coats? So why not buying right now during the discount season? Last winter is gone, but this winter will coming, now is the most effective time to buy the winter clothing for this winter due to the fact many brands begin to promote the last season clothing, if you can buy a brand clothing at a low discount, you will save much money for this winter, somebody will say that the last clothing will be ouedate in this winter, I can tell you that, Monclerjackets will solve this problem for you personally since of it's classical style.
Posted by miu miu official website, 02/01/2012 11:00pm (1 month ago)
-
Coming in forms such as hoods and simple jackets to suit your type of day, Moncler makes sure that it has jackets which suit all occasions.WearingMoncler down jacket will ensure you comfort, convenience and enable optimal performance this winter. Whether you want a sleek lower or a hood on your jacket, Moncler has made sure that you have what you want.Always worry the sky high price for winter coats? So why not buying right now during the discount season? Last winter is gone, but this winter will coming, now is the most effective time to buy the winter clothing for this winter due to the fact many brands begin to promote the last season clothing, if you can buy a brand clothing at a low discount, you will save much money for this winter, somebody will say that the last clothing will be ouedate in this winter, I can tell you that, Monclerjackets will solve this problem for you personally since of it's classical style.
Posted by mulberry factory shop, 02/01/2012 11:00pm (1 month ago)
RSS feed for comments on this page | RSS feed for all comments