CssDemo - } p { color: Blue; font-style: italic; }...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
<%@ Page Title="CSS Demo" Language="C#" AutoEventWireup="true" CodeFile="CssDemo.aspx.cs" Inherits="Demos_CssDemo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css"> h1 { font-size: 20px; color: Green;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } p { color: Blue; font-style: italic; } .RightAligned { text-align: right; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt; &lt;div&gt; &lt;h1&gt;Welcome to this CSS Demo page&lt;/h1&gt; &lt;p&gt;CSS makes it super easy to style your pages.&lt;/p&gt; &lt;p class=&quot;RightAligned&quot;&gt;With very little code, you can quickly change the looks of a page. &lt;/p&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt;...
View Full Document

Ask a homework question - tutors are online