AJAX (Asynchronous JavaScript and XML) allows updating parts of a web page, without reloading the whole page.
AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.
Classic web pages, (which do not use AJAX) must reload the entire page if the content should change.
Examples of applications using AJAX: Google Maps, Gmail, YouTube, and Facebook tabs.
SVG
SVG (Scalable Vector Graphics) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation.
SVG images and their behaviours are defined in XML text files. This means that they can be searched, indexed, scripted, and compressed. As XML files, SVG images can be created and edited with any text editor, but are more often created with drawing software.
All major modern web browsers—including Mozilla Firefox, Internet Explorer, Google Chrome, Opera, and Safari—have at least some degree of SVG rendering support.
Web Fonts
Web fonts are not pre-installed on the user’s system, unlike web safe fonts. The fonts are downloaded by the user’s browser while rendering the webpage, and then applied to your text. Using web fonts will slow your site’s load time and the version of the web browser must support CSS3. If a browser is unable to use the web font, it will fall back on the web safe fonts in the stack.
p { font-family: "Times New Roman", Times, serif }
font-family
font-style
To define how the font is displayed
p { font-style: italic }
font-style
font-variant
To determine if the font is in normal or small-caps
p { font-variant: small-caps }
font-variant
font-weight
To specify the weight of the font
p { font-weight: 800 }
font-weight
font-size
To specify the size of the font
p { font-size: large }
font-size
Color & Background:
Property
Description
Example
Result
color
To specify the color of an element
p { color: blue }
color
background-color
To set the background color of an element
p { background-color: #FFF }
background-color
background-image
To specify the background image of an element
p { background-image: url('/img/background.png') }
background-image
background-repeat
To determine how a specified background image is repeated
p { background-image: url('/img/background.png'); background-repeat: repeat-y; }
background-repeat
Box Properties:
Property
Description
Example
Result
word-spacing
To define an additional amount of space between words
p { word-spacing: 0.4em }
word - spacing
letter-spacing
To define an additional amount of space between characters
p { letter-spacing: 0.1em }
letter-spacing
text-decoration
To specify the decoration for text
p { text-decoration: underline }
text-decoration
vertical-align
To alter the vertical positioning of an element
p { vertical-align: top }
vertical-align
text-transform
To specify the transformation of text
p { text-transform: uppercase }
text-transformation
text-align
To specify alignment of text
p { text-align: center }
text-align
text-indent
To specify the indentation of text
p { text-indent: 5em }
text-indent
line-height
To control the spacing between baselines of text
p { line-height: 200% }
line-height
Border/Margin/Padding Properties:
Property
Description
Example
Result
margin-top
To specify the top margin
p { margin-top: 5px }
margin-top
margin-bottom
To specify the bottom margin
p { margin-bottom: 5px }
margin-bottom
margin-left
To specify the left margin
p { margin-left: 5px }
margin-left
margin-right
To specify the right margin
p { margin-right: 5px }
margin-right
margin
To specify the margin
p { margin: 5px }
margin
padding-top
To specify the top padding
p { padding-top: 5px }
padding-top
padding-bottom
To specify the bottom padding
p { padding-bottom: 5px }
padding-bottom
padding-left
To specify the left padding
p { padding-left: 5px }
padding-left
padding-left
To specify the right padding
p { padding-right: 5px }
padding-right
padding
To specify the padding
p { padding: 5px }
padding
border-top
To specify the top border
p { border-top: 1px solid #333 }
border-top
border-bottom
To specify the bottom border
p { border-bottom: 1px solid #333 }
border-bottom
border-left
To specify the left border
p { border-left: 1px solid #333 }
border-left
border-right
To specify the right border
p { border-right: 1px solid #333 }
border-right
border
To specify the border
p { border: 1px solid #333 }
border
width
To specify the width
p { width: 100% }
width
height
To specify the height
p { height: 50% }
height
float
To wrap text around an element
p { float: right }
float
clear
To specify if an element allows floating elements to its sides
p { clear: right }
clear
Property
Description
Example
Result
display
To define the display of an element
p { display: none }
display
white-space
To determine how spaces within the element are treated
p { white-space: pre }
white-space
list-style-type
To specify the type of list-item marker
ul { list-style-type: none }
list
style
type
list-style-image
To specify the image of list-item marker
ul { list-style-image: url('/img/list-image.png') }
list
style
type
Tutorials:
HTML:
Basic Tutorial:
HTML is the markup of a web page.
Below is a basic example of what you can do with HTML. It shows you what is required to build a basic page. The HTML text editor on the other tab automatically includes the DOCTYPE, html, head and body.
Below is a basic example of what you can do with CSS.
Example
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #d0e4fe;
}
h1 {
color: red;
text-align: center;
}
p {
font-family: "Verdana";
font-size: 30px;
}
</style>
</head>
<body>
<h1>CSS Example</h1>
<p>This is a paragraph</p>
</body>
</html>
Result
Other Resources:
JavaScript:
Basic Tutorial:
JavaScript controls the behaviour of a web page.
Below is a basic example of what you can do with JavaScript. It finds the HTML element with an id="change" and changes the content to "This is a JavaScript example".
Example
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Example</h1>
<p id="example"></p>
<button type="button"
onclick="document.getElementById("example").innerHTML = 'This is a JavaScript example'";>
Click Me!</button>
</body>
</html>
Result
Other Resources:
Default
The default example for the 2000 - 2004 stage in the timeline.
Man Utd
This is the website for Manchester United FC in 2001.