What is HTML?
HTML stands for HyperText Mark up Language and is a tag based programming language used for presenting information. this consists of two types of data:
The purpose of web browsers is to read the HTML documents and display them as visible webpages. The browser does not just simply display the tags, but uses them to interpret the content of the page. for example using the <img> tag when displayed through a browser will display the image rather than displaying the underlying HTML code
Here is some more in depth information about the different tags and there use
Headings
<h1>The largest heading</h1>
<h2>....</h2>
<h3>....</h3>
<h4>....</h4>
<h5>....</h5>
<h6>The smallest heading</h6>
Text and Formatting
<p>This is a paragraph</p>
<br> this is a line break
Colour in HTML (often spelt color) are defined with hexadecimal notation (HEX) for the combination of Red, Green, and Blue colour values (RGB). The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF). HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign. For example the colour red is written in hex as #FF0000. In the early days of the internet computers supported a maximum of 256 different colours so a list of 216 "Web safe colours" was suggested as a web standard, reserving 40 fixed system colours. This is not important now as most computers can display millions of different colours.
- Content: Text and graphics you want to display on the page
- Instruction: A predefined set of formatting elements, or tags, that define how the text and images are arranged and displayed on the page.
The purpose of web browsers is to read the HTML documents and display them as visible webpages. The browser does not just simply display the tags, but uses them to interpret the content of the page. for example using the <img> tag when displayed through a browser will display the image rather than displaying the underlying HTML code
Here is some more in depth information about the different tags and there use
Headings
<h1>The largest heading</h1>
<h2>....</h2>
<h3>....</h3>
<h4>....</h4>
<h5>....</h5>
<h6>The smallest heading</h6>
Text and Formatting
<p>This is a paragraph</p>
<br> this is a line break
Colour in HTML (often spelt color) are defined with hexadecimal notation (HEX) for the combination of Red, Green, and Blue colour values (RGB). The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF). HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign. For example the colour red is written in hex as #FF0000. In the early days of the internet computers supported a maximum of 256 different colours so a list of 216 "Web safe colours" was suggested as a web standard, reserving 40 fixed system colours. This is not important now as most computers can display millions of different colours.
What is CSS?
Cascading Style Sheets (CSS) tell the web browser how to display content on the screen. seperate the document content (written in HTML or are used to control how HTML elements are displayed by the browser. You can control how big elements are, what colour they are and where they are on the page. css is designed primarily to separate the You can control how big elements are, what colour they are and where they are on the page but for now we will focus on how to use CSS to control colour.
Here is an example of some of the tags used in html
<p>This is a pargraph</p>
<br> this is a line break
<p>This is a pargraph</p>
<br> this is a line break