HTML = Hypertext Markup Language
CSS = Cascading Style Sheet
HTML
HTML is the language used to write web pages. It consists of text that defines the content of the page and tags that define how the content should be structured. eg of a HTML Script:
<html>
<head>
<link rel = "stylesheet" type="text/css" href="style.css" />
<title>My Notepad Webpage</title>
<meta name = "descprition" content = "My webpage"> </meta>
</head>
<hr></hr>
<body>
<p><h1><strong> My Sports Page</strong></h1><p>
<hr></hr>
<marquee><p><h1> This page will be the greatest.......maybe!!</h1><p></marquee>
<hr></hr>
<p><h1> The completion of sale of 362 (2009 - 208) private apartments at Highbury Square and the social housing site at Queensland Road generated £156.9 million of revenue from property (2009 - £88.3 million) and allowed the Group to repay £129.6 million of bank loans.
<hr</hr>
<p><a href = "http://www.bbc.co.uk/sport"> click for bbc sport page </a>
<hr></hr>
</body>
<p><img src = "Z:\My Pictures\ball.jpg"> </img></p>
<hr></hr>
<p><video src = "W:\ICT Resources\Videos\"The Beatles - Hello Goodbye.wmv"></vid></p>
</html>
CSS
Cascading Style Sheet allows designers to control how a web page will display in a web browser and separates this presentational information from the web page content and its logical structure. example of a Cascading Style Sheet:
body
{
{background-image:url('http://www.wallpapers.cc/wallpapers/Mac-Leopard-Wallpaper.jpg');background-repeat:no-repeat;
}
h1
{
color:white;
text-align:left;
}
p
{
font-family:"Comic Sans MS";
font-size:30px;
}
No comments:
Post a Comment