You are here:
- Home
- HTML
Quotes and Tips
My Tweets
- We must! â@TechshareIndia: Looking for Two wheeler adaptations â Check out Ferro Equips stall at Techshareâ 11 hours ago
- That was day 1 at #TSI2012 11 hours ago
- RT @TechshareIndia: Television Advertising in India = a 6.6BILLION-worth industry! #TSI2012 12 hours ago
- @prakesh369 demoing #accessibility features of #iPad #TSI2012 12 hours ago
- RT @TechshareIndia: NOW at Stein Auditorium:P. J. Mathew Martin,AYJNIHH on Captioning&Indian Sign Language as #Accessibility Tools of Un ... 12 hours ago
-
Recent from Blog
- How the visually impaired can use a computer?
- Importance of Braille – Tribute to Louis Braille
- International Day of Persons with Disabilities – what it means to me?
- Thousands of Websites; all are citizen centric; but are they accessible to all citizens – a review
- Travel Tips for people with vision impairment
Tag Archives: HTML
Using appropriate elements in blog posts
Most often, I see blog posts where blogs without use of appropriate elements such as headings, tables etc. So thought let me write some tips that one should consider while writing a blog post.
- Never copy and paste from a word processing document or internet page
- Use appropriate heading structure if your post has sub sections; for instance, ideally, your post name would be heading level 1 and uses
<h1>
so next level heading would be
<h2>
and next level to
<h2>
would be
<h3>
and so on.
- If you insert an informative image; don’t forget to add text description to it. Sample code:
<img src="folder/filename.gif" alt="This is a sample image" >
if you use an image that is for decorative purpose, provide a null alt attribute. Sample code:
<img src="folder/filename.gif" alt="" >
- If you use a data table, use semantic markup including table summary, caption and associate headers. Sample table code:
<table summary="This table consist of HTML elements and their use"> <thead> <tr> <th> Attribute;</th> <th> Description;</th> </tr> </thead> <tbody> <tr> <td>h1, h2, h3...</td> <td >Headings </td> </tr> <tr> <td>a href</td> <td> Hyper link </td> </tr> </tbody> </table>
and here is the output:
Attribute Description h1, h2, h3… Headings a href Hyper link - Use appropriate list attributes: If you want to use an unordered list, use
<ul> <li> <ol>
attribute for ordered list. Here is the sample code:
- Unordered list:
<ul> <li>First bullet list item</li> <li>Second bullet list item</li> <li>Third bullet list item</li> </ul>
Output:
- First bullet list item
- Second bullet list item
- Third bullet list item
- Ordered list:
<ol> <li>First numbered list item</li> <li>Second numbered list item</li> <li>Third numbered list item</li> </ol>
Output:
- First numbered list item
- Second numbered list item
- Third numbered list item
attributes and
</ul>
More later! Enjoy writing effective blog posts!
Tagged blog writing, HTML

