Skip to content

Class2 html example

<html> 

/ *  the line of code underneath travels to the css document to read and understand what to choose as formatting */

<link rel=”stylesheet” type=”text/css” href=”ex1.css” />

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

<p> <a href=”www.justinhoffman.net”>HTML Tutorial</a> This is a link to a page on this website. </p>

<p>An image from W3Schools:</p>

<img src=”http://www.w3schools.com/images/w3schools_green.jpg” alt=”W3Schools.com” width=”104″ height=”142″ />

</body>

</html>