HTML and CSS Reference
In-Depth Information
value="Send!" />
<input type="button" id="stop-button"
value="Stop" />
<label id="status-label">Status</label>
The first line of the preceding code (the DOCTYPE ) indicates that we are using the
latest version of HTML, which is HTML5.
For more information about the HTML5 markup, consider visiting ht-
tp:// . There is a complete reference for the supported HTML5 tags
at .
In order to display colors, backgrounds, fonts, alignments, and so on, you need to
be familiar with Cascading Style Sheets ( CSS ). CSS is quite self-explanatory, so,
if you want to change the header style (for example color, alignment, and font), you
would write something similar to the following code:
h1 {
color: blue;
text-align: center;
font-family: "Helvetica Neue", Arial,
font-size: 1em;
} is a great resource for CSS3 and further reading.
The markup defines the structure and the CSS rules apply the styling. What about
event handling and user actions? Well, here comes JavaScript! JavaScript is a
scripting programming language that lets you control and alter the behavior of your
Search WWH ::

Custom Search