Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

Practice exercises CHAPTER 7 333



  1. Add a
    element containing a

  2. Open the default.css file and, at the bottom of the file, add a style rule for the

  3. Add another style rule to the bottom of the default.css file for elements, but
    only for elements that are inside a
    element. Set the width to 200 pix-
    els. Set the border width to medium and the border color to hsl(255, 100%, 100%). Set
    the height to 12 pixels and set text alignment to left and vertical alignment to top. Set
    the font family to Arial and the font size to 12 point.
    Your style should look like the following.
    form input {
    width: 200px;

Free download pdf