Professional Documents
Culture Documents
Chapter 21
This chapter covers:
• Use the Three web development layers : the content
Use , behaviour and presentation layers
1963 1990
1967
A WEBPAGE CAN BE CREATED IN ANY TYPE OF SPECIALIST PROGRAMS CALLED SOURCE CODE ALL WEBPAGES NEED TO BE SAVED WITH AN
TEXT SOFTWARE , FOR EG: A WORD PROCESSOR EDITORS ASSIST BY MAKING SUGGESTIONS AND .HTML EXTENSION.
OR TEXT EDITOR HIGHLIGHTING WHERE THERE IS AN ERROR .
Using HTML
<!DOCTYPE html>
<html>
<head>
<style>
</style>
<script>
</script>
</head>
<body>
</body>
</html>
The head section of a webpage
<!DOCTYPE html>
<html>
<head>
<title> A sample page </title>
<meta charset = “UTF-8”>
<meta name =“keywords” content=“computer, ICT, databases, spreadsheets”>
<meta name =“description” content=“ICT , IGSCE”>
<meta name =“author” content=“A person”>
<meta name =“viewpoint” content=“width=device-width, initial scale=1.0”>
</head>
<body>
</body>
</html>
The body section of a webpage
<body>
<h1> This is h1 heading</h1>
<h2> This is h2 heading </h2>
<h3> This is h3 heading </h3>
<p>This is a paragraph <br> with a line break. <br>
<b> This is in bold </b> <br>
<i> This is in italics </i>
<b><i> This is bold and italics </i> </b>
</p>
<h1> Lists </h1>
<h2> This is an unordered list </h2>
<ul>
<li> Red</li>
<li> Green</li>
<li> Blue</li>
</ul>
<h2> This is an ordered list </h2>
<ol>
<li> Red</li>
<li> Green</li>
<li> Blue</li>
</ol>
</body>
Links
<!DOCTYPE html>
<html>
<head>
<title> A sample page </title>
<meta charset = “UTF-8”>
<meta name =“keywords” content=“computer, ICT, databases, spreadsheets”>
<meta name =“description” content=“ICT , IGSCE”>
<meta name =“author” content=“A person”>
<meta name =“viewpoint” content=“width=device-width, initial scale=1.0”>
</head>
<body>
</body>
</html>
<body>
<h1> Links </h1>
< a id=“bookmark”>Link to the heading. </a>
<h2> Local Webpage</h2>
< a href=“local_webpage.html”>Link to local webpage </a>
<h2>Website URL</h2>
<a href=“http://www.google.com”>Link to a website URL </a>
<h2>Open link in same window</h2>
<a href=http://www.google.com target=“_self”> Link to a website URL that
opens in same window </a>
<h2> Open link in a new tab </h2>
< a href=http://www.google.com target=“_blank”> Link to a website URL that
opens in a new link </a>
</body>