Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.

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

  • 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