|
ASP.NET Book
The online ASP.NET Tutorial Book |
|||||||||
|
|
|||||||||
ASP.NET BasicsHTML BasicsASP.NET Web Server Advanced HTML Application Designing Using Visual Studio ASP.NET Standards ASP.NET Styling ASP.NET Navigation ASP.NET TipsASP.NET ValidationHTML forms CSS Styling CSS Advanced ASP.NET Features ASP.NET Image Effects Common mistakes DB Design tips Building ApplicationsDesign Secure AppsBuild Secure Apps |
1. HTML Span - <span> tag |
||||||||
|
The most commonly used and a quick style applying tag is the HTML “<span>” tag. Even though it is a very basic tag, you can used this tag to specify the color, size, and the font of the text, even if the Text has an style already assigned to it using the <p>, <h1>, <h2> or any other tags. Even though this type of styling is obsolete and many developers don’t use it now, it still provides an easy way of editing the look and feel of your web page without editing the Style Sheets. The following is a code snippet showing the change of the font Face using the span tag. <p>Paragraph Sample Text Here <span style=" font-family:Arial, Sans-Serif;">Span Sample Text Here.</span></p> Note:
Table of Contents» Chapter 1 - HTML Span - <span> tag [top] |
|||||||||