html coding and syntax
DESCRIPTION
A brief presentation on how and where to use HTML SyntaxTRANSCRIPT
![Page 1: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/1.jpg)
Niamh Foley
![Page 2: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/2.jpg)
Basic Layout<html>
<head> <title>My first web page</title>
</head>
<body> This is my first web page
</body>
</html>
Appears in Title Bar
Page Content
Surrounds All
HTML Syntax
![Page 3: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/3.jpg)
With a Title and some content
![Page 4: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/4.jpg)
My Attempt<html>
<head> <title> Niamh Foley’s Web page</title>
</head>
<body> This is my First Web Page <br> How Did I do?
</body>
</html> <BR> has the same effect as pressing the space bar
![Page 5: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/5.jpg)
To View in Internet Explorer Remember to save file as Yourname.Html
Find that File and open it. The icon will have an E on it
From text pad
From Internet Explorer
![Page 6: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/6.jpg)
This is What I got
Yours Should be Similar
![Page 7: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/7.jpg)
In a file with HTML and today's date
![Page 8: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/8.jpg)
Adding Colour There are 16million colour possibilities in HTML
they are in the form of Hexadecimal numbers that is numbers from 0-F i.e. “0123456789abcdef” To get a colour simply choose any 6 letters and or numbers
Colour range
“000000” Black to “FFFFFF” White
![Page 9: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/9.jpg)
Adding colour (2)Syntax – Back Ground Colour
<body bgcolor="color_value">
Syntax Example
<body bgcolor="#00BFFF">
Syntax – Font Colour
<font color="color_value">
Syntax Example
<font color="#00BFAA">
![Page 10: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/10.jpg)
My page With Colour<html>
<head> <title> Niamh Foley’s Web page</title> </head>
<body bgcolor="#00BFFF">This is my First Web Page <br> How Did I do?</body>
</html>
Note the change in Syntax
![Page 11: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/11.jpg)
This is What I got
Yours Should be Similar
![Page 12: HTML coding and syntax](https://reader033.vdocuments.mx/reader033/viewer/2022052412/558c7856d8b42a5d6c8b4720/html5/thumbnails/12.jpg)
In a file with HTML and today's date