Showing posts with label tech altum. Show all posts
Showing posts with label tech altum. Show all posts

Tuesday, 12 March 2013

Inline and Block Elements

Inline Elements

The Elements which starts and ends in a line, and does not include any block element in it.
Exp, Anchor, Span.

Block Elements

Block elements are the elements that create blocks,
Exp, Paragraph, Heading. They can have a break point.

However we can convert block elements into inline elements 
using css display property.

Click here to know display property

Saturday, 9 March 2013

Advance CSS Tags



Grouping ( used for grouping of multiple tags, ids or class)
 h1h2p
{
color:green;
}

Nesting ( used to select a particular tag inside its parent tag)
For Exp 
 p
{
color:blue;
text-align:center;
}
.marked
{
background-color:red;
}
You can use this:
.marked p
{
color:white;
}