This course has been updated! We now recommend you take the Complete Intro to Web Development, v3 course.

Check out a free preview of the full Introduction to HTML5 and CSS3 course:
The "American Flag: Data Attributes and Stripes" Lesson is part of the full, Introduction to HTML5 and CSS3 course featured in this preview video. Here's what you'd learn in this lesson:

HTML5 Data Attributes are a convenient way to add customization to elements and embed information. Subtle gradients and CSS3 Gradient picker tools from http://www.westciv.com/tools/gradients/ Placing the blue square on the flag by using layers and absolute positioning, then adding subtle gradients. Older, messier solution for placing the stars Spreading out governors’ names where stars will be Using http://www.fontsquirrel.com to find a font with stars in it. FontSquirrel allows you to generate the font for just a specific character (in this case, a star) so you don’t need to download the entire large file.

Get Unlimited Access Now