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

4 mins ago by Member 3560045
Forum: article "CRUD Operations using Partial View and jQueryUI in ASP.NET MVC4 - Part 2"
by NitishBharadwaj
I want to bind model based on database column dynamically.. I dont know column name it will known at runtime
by bhavanaky
I have two button styles in Styles.xaml file like MyStyleButton and MyStyleButtonClick.I applied MyStyleButton to the existing button like below<Button Name="btnAllOrders" Content="All Orders Status" Click="btnAllOrders_Click" Height="50" Width="150" Style="{StaticResource...
by iamvinod34
The wait operation timed outThe source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:1. Add a "Debug=true" directive at the top of the file that generated the error....

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