Introduction About HTML, CSS, Javascript

  •  HTML stands for Hyper-text-markup language.
  • HTML is the standard markup language, for creating a web page.
  • HTML describes the structure of a Web page.
  • HTML consists of a series of elements.
  • HTML tells the browser how to display the content.
  • HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this  is a          link", etc.


HTML Editor

Web pages can be created and modified by using professional HTML editors.

However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac).

We believe in that using a simple text editor is a good way to learn HTML.

Follow the steps below to create your first web page with Notepad or TextEdit.

CSS

  • CSS stands for Cascading Style Sheets.
  • 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.



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.

Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly braces.

Java Script

One of many JavaScript HTML methods is getElementById.

The example below "finds" an HTML element (with id="demo"), and changes the element content (innerHTML) to "Hello JavaScript":
Javascript accept both double and single quote:

Java Script Syntax

JavaScript syntax is the set of rules, on how JavaScript programs are constructed:

// How to create variables:

var x;
let y;

// How to use variables:
x = 5;
y = 6;
let z = x+ y;


The Javascript syntax defines two types of values:

. Fixed values
. Variable values

Fixed values are called Literals.

Variable values are called Variables.


No comments: