Click here to Skip to main content
15,881,882 members

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

by
cube=int(input(' enter a vlue to find it cube root,(vlue must be >1):')) epsilon=0.01 num_guess=0 low=0 high=cube guess=(high+low)/2.0 while abs(guess**3-cube)>=epsilon: if guess**3=guess high=guess guess=(high+low)/2.0 num_guess+1 if(high==low):...
by
I have the following class written to describe a Platypus date type and am having problems when trying to display results. This is the main function where I am having a problem displaying the output. #include "Platypus.h" #include #include #include using namespace...
by a__pal
I am new to AngularJs. I am trying to use Service.js to call Web Api. It is working if I directly call from controller. But when I try to segregate the code by using Service.js I am getting lost. Any help will be appreciated. getSubs function call is working in APIService. But not able to run...
by Tesouro
Hello all, My program needs to write configuration files and some data files somewhere. I know that writing files to my program's .EXE path (which will be within C:\Program Files) can cause issues related to permissions. So, I'm doing this: ProgramDataPath =...
by alpacaheng
I want to upload a file from client side(.html) using ajax to server side(.aspx.cs) but i dunno how to pass the file from client side to server side, and also how to get file passed from client side in webmethod and upload to server. What I have tried: index.html function uploadFile(){ ...