Monday, April 9, 2007

Properties defined by CSS

Elements of CSS

A CSS declarative statement looks as :

h1{font-size:24px;}

where:

  • h1: selector
  • font-size: property
  • 24px: value

Types of selectors:

  • Tag
    It is used to redefine a html tag
    p{font-family: Times, serif;}
  • ID
    It is used to name a unique element
    #nav {colour: red;}
  • Class
    Used to address a set of elements
    .post {padding: 10px;}
  • pseudo selectors (classes, elements)

Combining selectors:

  • Contextual
  • Grouping

The new CSS way

  1. Let the CSS control the style of thewhole सीते
  2. No tables for layout, just for tabular डाटा
  3. Keep the XHTML for content, markedup सेमंतिकाल्ल्य

Drawbacks

  1. Hard for older users to adapt
  2. Browser inconsistencies

Standard XHTML 1.0 attributes

Find attributes at:

http://www.w3schools.com/tags/ref_standardattributes.asp

Block level XHTML 1.0 tags

Find all the tags at

http://www.w3schools.com/tags/default.asp

Tags

Some Rules About Tags

  1. tag and attribute names must be written in lower-case
  2. tags must be properly nested
  3. all XHTML tags must be closed, including empty tags
  4. attribute values must always be quoted
  5. documents must be well-formed

xhtml and css

XHTML is a documentstructure language

  • heading,
  • sub-headings
  • divisions,
  • paragraphs,
  • lists,
  • quotes,
  • forms,
  • images
  • spans,
  • emphasis


CSS is a style languagefor document objects:–

  • page flowelement placement
  • margins and padding
  • backgrounds
  • fonts (face, size, style)
  • effects

Lecture notes

Application server:

  • An application server is a software engine that delivers applications to client computers or devices
  • It should handle most, if not all, of the business logic and data access of the application
  • benefits of application server:
    1] ease of application development
    2]and centralization
  • identified with the Sun Microsystems J2EE platform; however,
  • it has also come to encompass servers of web-based applications, such as integrated platforms for e-commerce, content management systems, affiliate management systems and occasionally, even applied to simplistic web-site page builders. The paradigm is more similar to mainframe based applications than traditional client-server.

Apache web server

Apache,

Courtesy: Webopedia (http://www.webopedia.com/TERM/A/Apache_Web_server.html)

What have I been upto...

I haven't been posting on this blog as regularly...thats not called for I know.
So I am gonna more than make up for it...