Validating HTML/XHTML

Validating HTML/XHTML implies checking HTML/XHTML file for conformance to W3C recommendations and standards. One can use W3C Markup Validation Service for free. I highly recommend using W3C Markup Validation Service to validate HTML and XHTML as it really helps us to eliminate code errors. However, in my opinion, validating HTML/XHTML is not as important as using this service to remove code errors.

Here are few tips that will help you to validate HTML/XHTML file when needed.

Continue reading Validating HTML/XHTML

Designing with Web Standards

If your HTML/XHTML and CSS is still not standards compliant and are still struggling to decide whether it’s worth it or not then “Designing with Web Standards” by Jeffrey Zeldman is an essential reading.

This book was recommended by my professor at NYU when I took the class on “Web Development with CSS and XHTML”. Finally, I found time to read this book. Since I have been using XHTML since about one year and a half, I found myself skipping through most of the content. The most useful part for me in this book was the resources on accessibility. I read that part very carefully and is now a must in all websites I code. So, it was worth reading this book.

How to Create Table With First Column Frozen?

Here is a HTML technique that can be used to create a table for data such that we can freeze the first column and add a scrollbar for rest of the columns as illustrated below.

Heading
Heading
Heading
This is a long Heading
Heading
Heading
Heading
Heading
Heading
Heading
Heading
Heading
 
Heading Heading Heading Heading Heading Heading Heading Heading Heading
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

Continue reading How to Create Table With First Column Frozen?

Internet Explorer (IE) Scrollbar Color Guide

It is possible to change the scrollbar colors in Internet Explorer (IE). Here is a guide for changing scrollbar colors in Internet Explorer using CSS.

To do so, specify following style in the StyleSheet:

body {
scrollbar-highlight-color: #F00808;
scrollbar-3dlight-color: #F5ED07;
scrollbar-arrow-color: #000000;
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #2308F0;
scrollbar-track-color: #808080;
scrollbar-darkshadow-color: #0F600D;
}

Scrollbar Color Guide

This will change the colors for the scrollbar of Internet Explorer browser. Continue reading Internet Explorer (IE) Scrollbar Color Guide

How to write Meta tags?

Meta tag is the HTML tag added in the head section of the HTML code as seen in the screenshot below. The purpose of this tag is to inform the search engine about the web page and its contents. There are quite a few Meta tags that provide description, keywords and copyright information to search engines. In this article we are going to concentrate on Meta description tag and Meta keywords tag.

Meta Tag

Continue reading How to write Meta tags?