Basic HTML5 and CSS examples

Examples of HTML elements with browser-default styling

Example with styling specified via CSS inline rules

Example with styling specified via an external .css stylesheet

Example with styling specified via bootstrap.

Example with nearly all styling removed via a CSS reset.

Example with CSS styling rules specified both inline and externally.

A Computer Haiku

HTML lists

HTML tables

HTML tables with CSS-styled borders

Spring 2006 CS422 course webpage using XHTML 1.0

HTML using CSS for layout (positioning of elements)

Simple positioning

Floating elements

HTML forms

Simple form

Examples of many form elements

Phonebook entry form

File Upload form and servlet code

upload.html

UploaderServlet.java

status.jsp

Javascript examples

CDCalculator

Form Validator

Two Buttons

Dynamically-created HTML

Analyzing the DOM

Javascript event examples

EventsDemo

 

XML examples

Student List XML file

Student List XML file with CSS styling

Student List CSS file