Skip to main content
RSS Feed

Srinivasu.org

  • Home
  • About Us
    • Profile
    • My family
    • My Student life
  • Press Room
  • My Events
  • Resources
    • Web Accessibility
    • Assistive Technologies
    • Science & Technology
    • Disability
    • Education
    • Classical Music
  • Presentations
    • Slides
    • Text Transcripts
    • Abstracts
  • Contact Us

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.

  1. Never copy and paste from a word processing document or internet page
  2. 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.

  3. 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="" >
  4. 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 &lt/td>
    </tr>
    </tbody>
    </table>

    and here is the output:

    Attribute Description
    h1, h2, h3… Headings
    a href Hyper link
  5. 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:

  6. 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
  7. Ordered list:
    <ol>
    	<li>First numbered list item</li>
    	<li>Second numbered list item</li>
    	<li>Third numbered list item</li>
    </ol>

    Output:

    1. First numbered list item
    2. Second numbered list item
    3. Third numbered list item

attributes and

</ul>

More later! Enjoy writing effective blog posts!

Related Posts with Thumbnails

Visitors have not browsed from this post. Become the first by continue reading this blog

Print Friendly

July 13, 2010 В· Srinivasu Chakravarthula В· No Comments
Tags: blog writing, HTML В· Posted in: Articles

Leave a Reply


  • « Previous post
  • Next post »
  • My Recemt Photos

    More Photos
  • You are here:

    1. Home
    2. Articles
    3. Using appropriate elements in blog posts
  • Quotes and Tips

    World Disability Day

    “If I regarded my life from the point of view of the pessimist, I should be undone. I should seek in vain for the light that does not visit my eyes and the music that does not ring in my ears. I should beg night and day and never be satisfied. I should sit apart [...]

    Print Friendly
  • My Tweets

    • RT @stevefaulkner: Web Accessibility Toolbar 2012 - silent install package http://t.co/sAvbL2Dz 2012/05/18
    • RT @DesignedByBlind: RT @debraruh: Man sues to force banks to adapt ATMs for blind people http://t.co/wwbiAYXD @gaates_gan, @g3ict, @usbln 2012/05/18
    • I'm at 12 gate (Bangalore) http://t.co/6EB8qUxS 2012/05/18
    • Waiting for a flight back to Bangalore! (@ Jet Airways Premiere Lounge) http://t.co/UZSRZMwn 2012/05/18
    • RT @stcaccess: Call for Submissions: #HCI12 workshop on facilitating behaviour change through technology. http://t.co/3U8gj7Kn HT @medea ... 2012/05/18
  • Recent from Blog

    • Appeal to my twitter followers – Support NVDA
    • Review of the Website of Income Tax Department, Department of Revenue, Ministry of Finance, Government of India
    • Three years at Yahoo!
    • iPhone and iPad applications that I love
    • How the visually impaired can use a computer?
http://web.guidelines.gov.in Web Guidelines for Indian Government Websites Make a contribution to NVDA - a free and powerful screen reader

© Srinivasu.org.

Powered by WordPress. Styled by Emerald Stretch.