Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
<BODY>
</BODY>
</HTML>
HTML
<!DOCTYPE html>
The doctype is not actually a tag, but a declaration telling
the browser what kind of html you are using. The doctype
above declares html5
<html> </html>
The <html> element defines the whole HTML document
<head> </head>
The <head> element contains the special elements that instruct the
browser where to find style sheets, provide meta info and more
<body> </body>
The <body> element contains the page content
HTML
<tag>Content</tag>
Tags normally comes in pairs, the tag is start tag and the
second tag is end tag
<h1>Main Headline</h1>
<label><label>
CSS
CSS describes how HTML elements are to be displayed on screen, paper, or in
other media. CSS saves a lot of work. It can control the layout of multiple web
pages all at once. External stylesheets are stored in CSS files
Style sheet defines how an html elements are presented in the
browser
CSS style sheets are the modern way to control the appearance and
layout of your web pages
CSS
Enter the following text into a style tag under the <head> element
<style>
body {
font-family : Courier New;
background-color : #FFEEDD;
color : #777733;
}
h1 {
font-family : Tahoma;
color : blue;
text-align : center;
}
</style>
JavaScript
JavaScript is the Programming Language for the Web
JavaScript can update and change both HTML and CSS
JavaScript can calculate, manipulate and validate data
JavaScript Variables
JavaScript variables are containers for storing data values
Example:
var x = 5;
var y = 6;
var z = x + y;
JavaScript Strings
Strings store text. Strings are written inside quotes. You can use single or
double quotes
var carname = “Vitz 6969"; // Double quotes
var carname = ‘Honda 2660'; // Single quotes
JavaScript
JavaScript Objects
we know that JavaScript variables are containers for data values.
This code assigns a simple value (Fiat) to a variable named car:
For example:
var car = "Fiat";
Questions ??
“One of the very important characteristics of a
student is to question, only students have the
capability to learn.