Thursday, 21 June 2012

How to insert InLine Style to Web Page

Inline Style Sheets


You can place a style tag directly in a HTML Tag. This is called Inline. Inline styles will override ones placed elsewhere. Here’s an example of an Inline style:

<H1 STYLE = “Color: Red”>My Heading</H1>

To place a style in a HTML tag, do the following:

  • Type the Tag you want to change

  • Next, type a space and then the word STYLE

  • Type an equals sign ( = ) after the word STYLE

  • Type a double quote mark

  • Type the Property followed by a colon

  • Type the Value

  • Type the another double quote mark

  • Type the right angle bracket ( > ) of the HTML tag

No comments:

Post a Comment