BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XHTML
The XHTML <span> Tag
The XHTML <select> Tag
The XHTML <script> Tag
The XHTML <q> Tag
The XHTML <pre> Tag
The XHTML <phrase_tags> Tag
The XHTML <param> Tag
The XHTML <p> Tag
The XHTML <option> Tag
The XHTML <optgroup> Tag
The XHTML <ol> Tag
The XHTML <object> Tag
The XHTML <noscript> Tag
The XHTML <noframe> Tag
The XHTML <meta> Tag
The XHTML <menu> Tag
The XHTML <map> Tag
The XHTML <link> Tag
The XHTML <li> Tag
The XHTML <legend> Tag
<< XALAN
XML DOM >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :3856

 

The <style> Tag (XHTML Reference)

Introduction

With the help of the <style> tag you can define your own style for colors, tables and name it how you like. For example you could create a new style called “BigText” and apply some fancy colors and a really big font into it. Each time you make usage of that style you will just have to refer to the id of it. The advantage is that if you make often usage of the new style in your page and suddenly to change the color, then you only need to change the color in the style sheet and not everywhere.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Using Styles</title>

<style type="text/css" media="screen">

<!--

 body

  #BigText

  { font-size:100px; font-family:"Trebuchat MS",Arial,sans-serif; color:#63BF7E; }

-->

</style>

</head>

<body>

<div id="BigText">Some Text</div>

</body>

</html>

Output

Attributes

Name:

Description:

media

Defines the output medium with one of the following options.

Screen (default)

tty

tv

projection

handheld

print

braille

aural

all

title

Defines the title of the style-area.

type

Defines the content-type, which is text/css.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En
A Greate Opportunituy as a SQL Deve
An immediate job opportunity as a B

View all Jobs (Add yours)
View all CV (Add yours)



Information Online

swimming pool builder
chicago web site design
conference calls
Domain Names
conference call service
Donna karan sunglasses
answering service


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP