Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.52 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <style>
  4.             p.one {
  5.                 font-family: arial, verdana, sans-serif;}
  6.             p.two {
  7.                 font-family: times, "times new roman", serif;}
  8.             p.three {
  9.                 font-family: courier, "courier new", monospace;}
  10.            
  11.             p.four {
  12.                 font-size: 300%;}
  13.             p.five {
  14.                 font-size: 200%;}
  15.             p.six {
  16.                 font-size: 100%;}
  17.                
  18.             p.seven {
  19.                 font-weight: normal;}
  20.             p.eight {
  21.                 font-weight: bold;}
  22.                
  23.             p.nine {
  24.                 font-style: normal;}
  25.             span.ten { <!-- Don't forget, the first element, in this case span, denotes what the class applies to -->
  26.                 font-style: italic;}
  27.                
  28.             span.eleven {
  29.                 color: #ff0000;}
  30.                
  31.             p.twelve {
  32.                 text-align: left;}
  33.             p.thirteen {
  34.                 text-align: center;}
  35.             p.fourteen {
  36.                 text-align: right;}
  37.                
  38.             span.fifteen {
  39.                 text-decoration: underline;}
  40.             span.sixteen {
  41.                 text-decoration: line-through;}
  42.                
  43.             p.seventeen {
  44.                 text-indent: 3em;}
  45.            
  46.             p.none {
  47.                 text-transform: none;}
  48.             p.capitalize {
  49.                 text-transform: capitalize;}
  50.             p.uppercase {
  51.                 text-transform: uppercase;}
  52.             p.lowercase {
  53.                 text-transform: lowercase;}
  54.         </style>
  55.     </head>
  56.     <body>
  57.         <p class="one">Here is some text in a sans-serif font.</p>
  58.         <p class="two">Here is some text in a serif font.</p>
  59.         <p class="three">Here is some text in a monospace font.</p>
  60.        
  61.         <br/>
  62.        
  63.         <p class="four">Wow, this is really big.</p>
  64.         <p class="five">Wait, what's happening?</p>
  65.         <p class="six">Oh no, I'm shrinking!</p>
  66.        
  67.         <br/>
  68.        
  69.         <p class="seven">Normal text</p>
  70.         <p class="eight">Angry text!!!!</p>
  71.        
  72.         <br/>
  73.        
  74.         <p class="nine">Well this would be a good oppurtunity to introduce the <span class="ten">span element. Say hello span element!</span> Hi span element.</p>
  75.        
  76.         <br/>
  77.        
  78.         Here comes the <span class="eleven">RAGE!</span>
  79.        
  80.         <br/><br/>
  81.        
  82.         <p class="twelve">To the left, to the left</p>
  83.         <p class="thirteen">Centrified</p>
  84.         <p class="fourteen">Right on out the door</p>
  85.        
  86.         <br/>
  87.        
  88.         <p>So, I'm going to <span class="sixteen">talk</span> write this sentence out <span class="fifteen">immediately.</span></p>
  89.        
  90.         <br/>
  91.        
  92.         <p class="seventeen">This paragraph is indented to demonstrate the text-indent property.</p>
  93.        
  94.         <br/>
  95.        
  96.         <p class="none">This text has not been transformed.</p>
  97.         <p class="capitalize">The first letter of each word will be capitalized.</p>
  98.         <p class="uppercase">All of this text will be uppercase.</p>
  99.         <p class="lowercase">ALL OF THIS TEXT WILL BE LOWERCASE.</p>
  100.     </body>
  101. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement