Style Attribute Example – HTML Syntax – HTML Style Example
3-Minute Video Tour of LearnVisualStudio.NET by Bob Tabor
Style Attribute Example – HTML Syntax – HTML Style Example
Purpose: – Illustrates the HTML syntax for the style attribute.
You can download an excellent free html editor at nvu. This HTML editor will allow you to easily experiment with these examples. You can view an 8-minute video tutorial that I did at NVU HTML Editor
Function: style="inline style:value;" Style allows you to apply inline styles to an element. First, you specify inline style, then colon, then value, and semicolon.
Restrictions: None
| HTML | | | | ? |
< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<html> |
<head> |
<title>Style Attribute</title> |
</head> |
<body> |
<p style="font-family: verdana; color: green; font-size: 14pt;">Style |
allows you to apply inline styles to an element |
</p> |
</body> |
</html> |
Related posts:
- Face Attribute Example – HTML Syntax – Face Attribute Example Face Attribute - HTML Syntax - Example...
- Scroll Attribute Example – HTML Syntax – Scroll Attribute Example Scroll Attribute Example - HTML Syntax - Scroll Attribute Example...
- Color Attribute Example – HTML Syntax – Color HTML Example Color Attribute Example - HTML Syntax - Color HTML Example...
- Bordercolor Attribute Example – HTML Syntax – Bordercolor HTML Example Bordercolor Attribute Example - HTML Syntax - Bordercolor HTML Example...
- Disabled Attribute Example – HTML Syntax – Disabled HTML Example Disabled Attribute - HTML Syntax - Example...
Related posts brought to you by Yet Another Related Posts Plugin.

This is a header
This is a paragraph.