Professional Documents
Culture Documents
ECT200
Introduction to HTML
• HTML stands for Hyper Text Markup Language
</body>
</html>
• <a href="https://www.adu.ac.ae/calendars">This is a
link</a>
Example
<img src=“abc.jpg" alt=“abccompany.com" width="104" height="142">
• <img src=“abc.jpg" alt="Flowers in UAE">
Cascading Style Sheet (CSS)
• Cascading Style Sheets (CSS) is used to format the layout of a webpage.
• Try it Yours
The following example sets the text color of ALL the <h1> elements (on that page) to blue, and the text color of
ALL the <p> elements to red.
Example
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Class Activity
• Make a HTML page displaying some information about your online
business. Your page must display some images to show products
available to buy, one URL for getting more details about your site or a
product.
References
• https://www.w3schools.com/html