Categories
Css

Clearing floats

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 container all the way. Suppose we are using the below css through out the page: div.container { border: 2px solid […]

Categories
Css Css3

Bring new life into your CSS

Creativity does not belongs by born. So using CSS pretty much anything that can be done using your feelings. Make your interest in depth and you will be easily drawn to the next big thing. The same rule follows web industry. Days by day the world of CSS is exploring that you considered previously. Here […]

Categories
Css

7 CSS tricks for website

It is very essential to remember when using CSS to website that you need to maintain some types of tricks which is very helpful. CSS tricks: 1) Don’t fix the font size:You do not know in what resolution people are using your website so let auto fix the font size depends on ratio. Avoid p […]

Categories
Html

Images in HTML

In html document, images are added via img element where the src attribute contains the url to the image path. Images example: <img src=”image.jpg”> There are different types of image format like jpg, png, gif, bmp etc.There is a attribute called “alt” which is used to give alternate information about the image or in case […]

Categories
Html

Meta Tags in HTML

This is meta information about your html document. It is not visible to the browser. For SEO purpose meta tags are used and written between head tags. Meta Tags: <head><meta name=”keywords” content=”Html, Web design, Meta tags”><meta name=”description” content=”This is html meta tags description”></head> Besides this lots of meta name are available.

Categories
Html

HTML Tricks for Non-Technical Person

Sometimes it is very tough for them who owned the website but can not modify any part of it. Rarely a non-technical person does it. You need a HTML Tricks. For any internet marketers, it should know as well as easily learn. You do not have to a web developer rather than a web researcher. […]

Categories
Html

HTML iframe

The iframe is used to include external html pages or other html pages inside another html page. iframe format: <iframe width=”400″ height=”300″ src=”http://example.com/”></iframe> There are different types of attributes i.e. width, height, name, src, srcdoc, seamless etc.

Categories
Html

Text Formatting

To format html text several elements are used. Now day we can do this by css style. But you can still use html element for formatting. Text Formatting types: <pre> Element:<pre>The quick brown fox jumps over the lazy dog</pre> <del> ElementThe quick brown fox <del>jumps</del> over the lazy dog <sup> Element<p> The quick brown fox […]

Categories
Html

Div and span elements in HTML

For special formatting,  div and span elements are used. You need to add styles in css for proper formatting or looks and feel. The difference between <div> and <span> is <div> is displayed as a block and <span> is displayed as inline text. Example of div and span elements: The <div>quick brown</div> fox jumps over […]

Categories
Css Css3

em vs px

The most confusing part of CSS styling is that font-size attribute i.e. how this will show in various resolutions. em: This scalable unit is used in web document media due to scalability and their mobile-device-friendly environment. For instance one em is equal to current font-size i.e. if font-size of the document is 10pt then 1em […]