SereneKhaoz / style-tag-and-h1-site-header-css-lab-abp-11-17

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<style> Tags and Element Selector Lab

Objectives

  1. Create a <style> tag within the <head> of index.html.
  2. Use an Element selector to style the h1 and h3.
  3. Add font-size, font-weight, font-family, color, and text-decoration styles.

Instructions

Open index.html in your text editor. Add a <style> tag to the head of the document in index.html and add the following styles:

h1

Style the h1 with an element selector and give it a font-size of 60px and a font-weight of 300 and a font-family of "Helvetica", "Arial", "sans-serif".

h3

Style the h3 with an element selector and give it a font-size of 28px and a color of #868e96 and a text-decoration of underline and a font-family of Verdana.

Resources

About

License:Other


Languages

Language:Ruby 94.9%Language:HTML 5.1%