There are 3 types of websites:
Tags usually come in pairs:
the closing tag denotes the end.
<!-- comment goes here -->Block Elements : elements will always appear to start on a new line in the browser window.
Examples of block elements are <h1>, <p>, <ul>, and <li>.
<a>, <b>, <em>, and <img>.<div> element allows you to group a set of elements together in one block-level box
- <span> element allows you to group a text. also, it is used to either Contain a section of text where there is no other suitable element to differentiate it from its surrounding text or Contain a number of inline elements.<meta> element lives inside the <head> element and contains information about that web page.The new HTML5 elements i XX ndicate the purpose of different parts of a web page and help to describe its structure
The <header> and <footer> elements can be used for:
●● The main header or footer that appears at the top or bottom of every page on the site.
●● A header or footer for an individual <article> or <section> within the page.
The <section> element groups related content together, and typically each section would
have its own heading.
Process and design Every website should be designed for the target audience—not just for yourself or the site owner. It is therefore very important to understand who your target audience is.
Site Maps The aim is to create a diagram of the pages that will be used to structure the site. This is known as a site map and it will show how those pages can be grouped.
ABC of programming :
To write a script, you need to first state your goal and then list the tasks that need to be completed in order to achieve it.
Start with the big picture of what you want to achieve, and break that down into smaller steps. 1: DEFINE THE GOAL First, you need to define the task you want to achieve. You can think of this as a puzzle for the computer to solve. 2: DESIGN THE SCRIPT To design a script you split the goal out into a series of tasks that are going to be involved in solving this puzzle. This can be represented using a flowchart. You can then write down individual steps that the computer needs to perform in order to complete each individual task (and any information it needs to perform the task), rather like writing a recipe that it can follow. 3: CODE EACH STEP Each of the steps needs to be written in a programming language that the computer understands. In our case, this is JavaScript.