Cascading Style Sheets (CSS) is the style sheet used to define the HTML elements. This can be also applied to any kind of XML document, including plain XML, SVG and XUL. These styles are normally saved in external .css files. These external style sheets can save lot of your time while editing the layouts of all the pages in a website.
Here are some important and useful CSS tips and tricks that can be helpful for developers.
1. The Use of Reset.css
When it comes to styling your web page, it can get really confusing at times as most browsers have different ways of handling web pages as they all have some default styles whicg are automatically applied to even your bland pages.
reser.css will help reset all the default styles which were applied by browsers so you can work with a plain blank un-styled page.
One of the most commonly used reset.css is one by
meyerweb.com . You can grab a copy of the css file from Here.
HTML <meta> tags are very important but many web designers have failed to make use of its robust functionalists, most web developers only make use of it for page description, author, or to list keywords.
HTML <meta> tag can be use to store data on a web page for browsers and search engines, <meta> tags are not displayed on the page.
The following important ways you can make use of HTML meta tags on your webpage.
1. For Redirecting a Page
Also note that the below code MUST be inbetween the head tags <head>…..</head>
<meta http-equiv="refresh" content="0; url=http://awilabs.com" />