<h1>
….<h6>
<p>
, consists of one or more sentences.
<b>
<i>
<sup>
, used : power number<sub>
, used : foot notes or chemical formulas
This is known as white space collapsing
.<br />
add a line break inside the paragraph. “ Line Breaks “<hr />
add a horizontal rule between sections. “ Horizontal Rules “Visual Editors : often resemble word processors, If you copy and paste text from a program that allows you to format text.
Code views : show you the code created by the visual editor so you can manually edit it, or so you can just enter new code yourself.
<strong>
for importance content, the content will be bold.<em>
“emphasis” changed the content , the content will be italic.<q>
used for short quotation, in Paragraph.<blockquote>
when all the Paragraph was a quotation.<abbr>
When the mouse stopped on the word to make you the text of the title.
<cite>
Citation<dfn>
Definition<address>
<ins>
insert, underline<del>
delete<s>
strikethroughWhat CSS does?? CSS will treat each element as if it lives inside its own box
“In this example, block level elements are shown with red borders, and inline elements have green borders. The
<body>
element creates the first box, then the<h1>
,<h2>
,<p>
,<i>
, and<a>
elements each create their own boxes within it. Using CSS, you could add a border around any of the boxes”.
CSS
works by associating rules with HTML elements. These rules govern how the content of specified elements should be displayed. A CSS rule contains two parts: a selector and a declaration.
CSS declarations sit inside curly brackets and each is made up of two parts: a property and a value, separated by a colon.
special file for css , linked to HTML file in head.
<style>
There are many different types of CSS selector that allow you to target rules to specific elements in an HTML document.
- Class Selector : mentioned using . , in style
- ID Selector : mentioned using # , in style
A script is a series of instructions that a computer can follow one-by-one. Each individual instruction or step is known as a statement.
- Example: var today= new Date{); var hourNow = today.getHours{) ; var greeting;
var quantity ;
=
like: (var == ‘1’ && var < ‘10’)
Statement 2: Increase counter variable by 1.