Valid values for id attribute in HTML
While creating the id attributes for HTML elements, we need to provide Valid values for id attribute. Let’s see what are they. ID and NAME value must contain with a letter (A-Za-z) and this may […]
While creating the id attributes for HTML elements, we need to provide Valid values for id attribute. Let’s see what are they. ID and NAME value must contain with a letter (A-Za-z) and this may […]
In an HTML table, We can already set the cellpadding and cellspacing of a table. But, what if we like to implement with the help of CSS? Let’s see that. Cell padding: This is used […]
“javascript:void(0)” or “#”, these are two type by which we can call a JavaScript code. But, what do you prefer to do most? These are for a building a link that has the sole purpose […]
Why does HTML think “chucknorris” is a color? Any unknown digit in a HTML color code are treated as zero so using invalid characters in a color code shows different value. Missing or incorrect digits […]
Image sprite is a collection of images put into a single image depends on particular position of a image. Basically CSS sprites are used for faster loading of your site. Read our previous article about […]
Using both @import and link tag you can include style sheet in a webpage. But there is a difference. For performance “link” has a much better advantage. Example of @import and link: <link href=”style.css” type=”text/css” […]
Reset.CSS is used to normalize browser’s default styles that resets the styling of all HTML elements to a consistent baseline. Every browser has its own default ‘user agent’ stylesheet which use unstyled websites appear more […]
Using !important rules can be a dangerous way to style your webpage that usually means you are forcefully doing this, but they exist for some reason. The paragraph will be colored red, even there is […]
For a float based layout the common problem is that the container doesn’t stretch up. Try Clearing floats. For example if you want to add floats then using command the browsers it stretch up the […]