HTML and CSS Reference
In-Depth Information
We will begin by writing the markup that will form the basis of the task list screen. In this
chapter all content will be static: in later chapters we will make this dynamic through the
use of JavaScript and jQuery.
To begin the sample project, create a new folder anywhere on your file-system and add a
file to it called tasks.html. This should contain the following content:
Remember these examples can be downloaded from the topic's website at cis- Each chapter has a zip file with all the examples.
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Task list</title>
<link rel="stylesheet" type="text/css" href="styles/tasks.css" media="screen" />
<span>Task list</span>
<label>Task</label> <input type="text" required="required"
name="task" class="large" placeholder="Breakfast at Tiffanys" />
<label>Required by</label> <input type="date" required="required"
name="requiredBy" />
Search WWH ::

Custom Search