text
-headings there are six “levels” of headings h<1> > is used for main headings it will be the largest by size h<2> > is is used for subheadings it will be smallest then h<1> and so on
-
Paragraphs To create a paragraph, surround the words that make up the paragraph with an opening <>p tag and closing </>p tag
-
Semantic Markup There are some text elements that are not intended to affect the structure of your web pages, but they do add extra information to the pages — they are known as semantic markup.
-
Strong & Emphasis The use of the ‘strong’element indicates that its content has strong importance.For example, the words contained in this element might be said with strong emphasis. By default, browsers will showthe contents of a ‘strong’ element in bold
The ‘em’ element indicates emphasis that subtly changes the meaning of a sentence. By default browsers will show the contents of an ‘em’ element in italic.
-
There are two elements commonly used for marking up quotations: one for long quotations we ues ‘blockquote’ element the other for short one we ues ‘q’ element
-
Abbreviations & Acronyms ‘abbr’ element used to specify the full term of the titel if we add nasa we can explean what is nasa
-
Citations & Definitions When you are referencing a piece of work such as a book, film or research paper, the ‘cite’ element can be used to indicate where the citation is from.
The ‘dfn’ element is used to indicate the defining instance of a new term.
- Author Details contan a contact detalis of the author it may be a phone number or emile or an actual addres and we ues this elemnt ‘address’
CSS
-
CSS Associates Style rules with HTML elements 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 Properties Affect How Elements Are Displayed CSS declarations sit inside curly brackets and each is made up of two parts: a property and a value, separated by a colon. You can specify several properties in one declaration, each separated by a semi-colon.
and we can ues an external css file by adding the bath of the css on the head element
and we cam Ues Internal CSS file by adding style element inside the head element
When building a website there are several advantages to placing your CSS rules in a separate style sheet.
- less coding
- make the page load faster
Basic JavaScript Instructions
-
STATEMENTS 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. Statements should end with a semicolon.
-
COMMENTS
You should write comments to explain what your code does. They help make your code easier to read and understand. This can help you and others who read your code. we ues this to wirite a comments // -
VARIABLE we have to declare the viriable before we can ues them aftar that we have to assign a value be = we call it assing oprater
-
DATA TYPES JavaScript distinguishes between numbers, strings, and true or false values known as Booleans.
-
ARRAYS An array is a special type of variable. It doesn’t just store one value; it stores a list of values.
-
EXPRESSIONS An expression evaluates into (results in) a single value. Broadly speaking there are two types of expressions.
-
OPERATORS Expressions rely on things called operators; they allow programmers to create a single value from one or more values.
Decisions and Loops
-
Comparison operators (===, ! ==, ==, ! =, <, >, <=, =>) are used to compare two operands.
-
Logical operators allow you to combine more than one set of comparison operators.
-
if … else statements allow you to run one set of code if a condition is true, and another if it is false.