Click here to Skip to main content

Learn HTML5 and CSS3

We've put together a series of articles from the community to lead you, step-by-step, into the wonderful world of HTML and CSS. Each article covers a single topic, with the goal of taking you from being an absolute beginner all the way to basic mastery of the latest HTML5 and CSS3 technologies.

Table of Contents

  1. Writing Your First Code
  2. Building on the Basics
  3. Styling Your First Web Page
  4. Laying Out Your First Web Page
  5. Getting Fancy with HTML5 & CSS3
  6. Building Formidable Forms with HTML5
  7. Coding Canvas
  8. Starting with SVG
  9. Enabling the App Cache
  10. Exploring HTML5 WebStorage
  11. HTML5 API Grab Bag
  12. Open Topics

1. Writing Your First Code

  • A walkthrough intended to make you feel comfortable writing HTML and CSS on your own by the end of it.
  • How HTML was developed
  • Defining HTML and CSS
  • How browsers work with HTML and CSS
  • How to set up your development environment
  • Building a basic Hello World web page
  • Deconstructing the web page and identifying all the parts

See Also

2. Building on the Basics

  • An explanation of attributes
  • Images and different kinds of hyperlinks.
  • Ordered lists and unordered lists, ordered list attributes
  • Tables, thead, rowspan colspan
  • Emphasis Elements (Bold, Underline, Italics, etc.)
  • Edit elements - cite and datetime
  • Using Comments
  • Tips for Structuring Code and Making it Readable
  • Browser Support

See Also

3. Styling Your First Web Page

  • Web Page without Style and web pages with simple style
  • CSS Selectors - element selector, id selector, class selector, chaining selectors
  • CSS Placements - internal/external/inline stylesheets
  • CSS Properties - backgrounds, text, fonts

See Also

4. Laying Out Your First Web Page

  • The Box Model (Margin, Border, Padding and Content)
  • Dimension, Display, Positioning, Floating, Align
  • Borders
  • CSS Lists and Tables
  • Div and Span

See Also

5. Getting Fancy with HTML5 & CSS3

  • Working with HTML5 Audio and Video tags
  • CSS3 Text Effects (Outline, Shadow, Wrap, etc.)
  • CSS3 Transitions
  • CSS3 2D and 3D Transforms
  • CSS3 Animations

See Also

6. Formidable Forms with HTML5

See Also

7. Coding Canvas

  • What is canvas?
  • Creating a canvas
  • Canvas Coordinates and Paths
  • Javascript Timer methods
  • Canvas Gradients, Images
  • Translate, Rotate and Scale methods
  • Font property and FillText method
  • Finishing "Balloon Bob" as a Canvas example
  • Assignment - Develop the game "Bobby Carter"

See Also

8. Starting with SVG

What is SVG?

  • Raster Graphics
  • Vector Graphics
  • How and why do you use SVG?

Learn how to use SVG

  • Professional Tools For Creating SVG's
  • SVG Document Structure
  • Basic Shapes of SVG
  • Paths in SVG
  • Styling the SVG
  • Filter effects in SVG
  • Gradients in SVG

Advantages of SVG
SVG examples

See Also

9. Enabling the App Cache

  • What is Application Cache?
  • Why would you use App Cache? Where is it useful?
  • The basics of creating a cache manifest
  • The Manifest File (CACHE MANIFEST, NETWORK, FALLBACK)
  • Updating the cache
  • Other tips and best practices

See Also

10. Web Storage Wizardry

  • HTML5 Web Storage
  • Session Storage
  • Local Storage
  • Building Session Storage
  • Building Local Storage
  • Best Practices
  • Web Storage Event

See Also

11. HTML5 API Grab Bag

  • HTML5 Geolocation
  • HTML5 Drag and Drop
  • Drag and Drop Events
  • DataTransfer Object
  • Drag and Drop Prizes
  • HTML5 Server-Sent Events

12. Open Topics on HTML5 and CSS

  • Web Sockets 
  • Server Sent Events (SSE)
  • SSE vs Web Sockets
  • Web Workers
  • Web Messaging
  • File API
  • Web Notifications
  • Micro Data
  • Indexed DB

See Also

Latest Discussions

by mikeoabban
I have a form which saves data into sql db. and its working corretingCODE FOR SAVINGpublic void saveRegister() { //saves the data in memory SqlCommand cmd = new SqlCommand(); string dat = null; dat = regdate.Year + "-" +...
by Member 11177864
There is a banner being pulled in by a header template that I do not want displayed on my secondary page. This Jquery code exists but I don't understand how to actually disable it. Any help would be appreciated.jQuery(document).ready(function() {//right_now.str = parseInt(right_now.month +...
14 mins ago by Member 8349673
Forum: article "List vs IEnumerable vs IQueryable vs ICollection vs IDictionary"
18 mins ago by Asutosha
Forum: tip/trick "Globalisation in ASP.NET"
by GutierrezDev
I would like to know if there are other ASP.net MVC Server Wrappers beside Kendo UI?Thanks in advance for answering.

Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 1 Jun 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid