NOTES

What is HTML?

What is CSS?

CSS is a language that describes the style of an HTML document. CSS describes how HTML elements should be displayed.

CSS Introduction

Three Ways to Insert CSS

There are three ways of inserting a style sheet:

CSS Syntax

The selector points to the HTML element you want to style.
The declaration block contains one or more declarations separated by semicolons.
Each declaration includes a CSS property name and a value, separated by a colon.
A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces.

CSS Comments

Comments are used to explain the code, and may help when you edit the source code at a later date. Comments are ignored by browsers.

JavaSrcipt

JavaScript is the programming language of HTML and the Web.
JavaScript is easy to learn.
This tutorial will teach you JavaScript from basic to advanced.

DID YOU KNOW?

JavaScript is one of the 3 languages all web developers must learn:


  1. HTML to define the content of web pages
  2. CSS to specify the layout of web pages
  3. JavaScript to program the behavior of web pages

Web pages are not the only place where JavaScript is used. Many desktop and server programs use JavaScript. Node.js is the best known. Some databases, like MongoDB and CouchDB, also use JavaScript as their programming language.

JavaScript

JavaScript is the programming language of HTML and the Web.
JavaScript is easy to learn.

JavaScript Can Change HTML Content

One of many JavaScript HTML methods is getElementById().
JavaScript accepts both double and single quotes: