2
Styling Text: stylingtext.html <!doctype html> <html> <head> <title>Learning CSS</title> <meta charset="utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style type="text/css"> p { font-family:Arial, Helvetica, sans-serif; } .bold { font-weight:bold; color:green; font-size:10px; } .italic { font-style:italic;

CSS - Styling Text

Embed Size (px)

DESCRIPTION

styling text

Citation preview

  • Styling Text: stylingtext.html !!

    Learning CSS

    p {

    font-family:Arial, Helvetica, sans-serif;

    }

    .bold {

    font-weight:bold;

    color:green;

    font-size:10px;

    }

    .italic {

    font-style:italic;

  • }

    .underline {

    text-decoration:underline;

    }

    This is some text

    This is some bold text

    This is some italic text