Friday, September 16, 2011

html


HTML Styles

« Previous Next Chapter »

In HTML 4.0, all formatting can be removed from the HTML document, and stored in a style sheet.

Examples

Try-It-Yourself Examples

Using styles in HTML
How to add style information into the <head> section.
Link that is not underlined
How to make a link that is not underlined, with the style attribute.
Link to an external style sheet
How to use the <link> tag to link to an external style sheet.

How to Use Styles

When a browser reads a style sheet, it will format the document according to it.
There are three ways of inserting a style sheet:
  • External style sheet
  • Internal style sheet
  • Inline styles

External Style Sheet

An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the <head> section:
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>


Internal Style Sheet

An internal style sheet can be used if one single document has a unique style. Internal styles are defined in the <head> section of an HTML page, by using the <style> tag, like this:
<head>
<style type="text/css">
body {background-color:yellow;}
p {color:blue;}
</style>
</head>


Inline Styles

An inline style can be used if a unique style is to be applied to one single occurrence of an element.
To use inline styles, use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example below shows how to change the text color and the left margin of a paragraph:
<p style="color:blue;margin-left:20px;">This is a paragraph.</p>
To learn more about style sheets, visit our CSS tutorial.

HTML Style Tags

Tag Description
<style> Defines style information for a document
<link /> Defines the relationship between a document and an external resource


« Previous Next Chapter »

 

W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.
More than 6000 certificates already issued!
Get Your Certificate »
The HTML Certificate documents your knowledge of HTML.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

Friday, August 19, 2011

Free Download For Abobe Flash Player10.1

Free download Adobe flash player 10.1 is a free network management software tool from adobe. Not knowing the news of flash player that is available for PC’s and Netbooks they won’t download this flash player. This free download adobe flash Player 10.1 is installed on more than 750 million desktop computers linked to Internet and mobile devices.

Google+ Apps in ipads& ipod Touch

Google being good for searching results in web; it has got the most reputed brand name in the basis of searching results and it has created its uniqueness in the form sending messages from one to another through Gmail in web today. In the same manner it has recently released it’s another outstanding social networking community entertainer name called Google+. now  you can enjoy the joy of social networking in your mobile it means you can chat and share your feelings through this Google+ with your friends and it is available in the iPad and iPod.

Free Download For Skype5.0

Skype 5.0 is a software application that allows users to make tone and video calls and chats over the Internet. Skype5.0 makes free calls anywhere in the world. Skype uses P2P (peer-to-peer) machinery technology to connect with other users. Calls to supplementary users within the Skype service are free; while calls to both habitual landline telephones and mobile phones can be made for a fee using a debit-based user account system and it secures the file transfer. Skype has also become trendy for its further features which consist of instant messaging, file transfer, and videoconferencing.