Contact Us

|

FriendFeed FriendFeed

|

follow us on twitter Twitter

|

 Rss Feed

|

Favorites Add to Favorites

Saturday, September 20, 2008

Types of borders in CSS

There are different types of borders to choose from. Below are shown 8 different types of borders 4. The values none or hidden can be used if you do not want any border.

Border: dotted, dashed, solid, double, groove, ridge, inset, outset

Example:
h1 {
border-width: thick;
border-style: dotted;
border-color: gold;
}

Shorthand Method for border:
Ex:
h1 {
border:1px solid #ccc
}
Read more...

Tuesday, September 16, 2008

CSS Dimension

CSS dimension properties allow you to control the height and width of an HTML element.

For example:
.img{
height:auto;
width:130px;
}
Read more...

Wednesday, September 10, 2008

HTML5 VERSION

On January 22nd, 2008, W3C published the latest working draft for HTML 5.

The HTML 5 working group includes AOL, Apple, Google, IBM, Microsoft, Mozilla, Nokia, Opera and many hundred other vendors.

HTML 5 introduces a whole set of new elements that make it much easier to structure pages. Most HTML 4 pages include a variety of common structures, such as headers, footers and columns and today, it is fairly common to mark them up using div elements, giving each a descriptive id or class.

The use of div elements is largely because current versions of HTML 4 lack the necessary semantics for describing these parts more specifically. HTML 5 addresses this issue by introducing new elements for representing each of these different sections.

he div elements can be replaced with the new elements: header, nav, section, article, aside, and footer.

The markup for that document could look like the following:

<body>
<header>...</header>
<nav>...</nav>
<article>
<section> ... </section>
</article>
<aside>...</aside>
<footer>...</footer>
</body>
Read more...

Saturday, September 6, 2008

Table Defenition

The table element defines the table.

The tr element defines a table row.

The td element defines a data cell. These must be enclosed in tr tags

For ex:<table>
<tbody><tr>
<td>Row 1, cell 1</td>
<td>Row 1, cell 2</td>
<td>Row 1, cell 3</td>
</tr>
<tr>
<td>Row 2, cell 1</td>
<td>Row 2, cell 2</td>
<td>Row 2, cell 3</td>
</tr>
</tbody></table>
Read more...

Tuesday, September 2, 2008

Html Email Link Tutorial

To create html email link, we use mailto in html code of anchor tag in our html document.A valid email address used instead of url to create e-mail link.

HTML code
<a href="mailto:emailaddress@htmlcsstutorials.com" title="Email to me">contact us</a>
Read more...