Table of Contents

~~TOC~~

Lab46 Tutorials

HTML

Hyper Text Markup Language

HTML is a mark up language used for web page creation. It has been the standard for web development since the early 1990's. The current version is HTML 5.0 and still continues to be the standard. Using simple “tags” or opening and closing commands denoted as <tag> </tag>. A structured document can be created that can be veiwed on any common web browser. No special tools are needed except a text editor and a browser to edit and view the page respectively.

First Web Page

<html>
    <head>
        <title>My New Web Page</title>
    </head>
    <body>
        Hello world this is my new web page!
    </body>
</html>

save as index.html

to view open the file within your favorite web browser.

Common Tags

<html></html>
<h#></h#>
<p></p>
<a href""></a>
<body></body>
<head></head>
<title></title>
<img src="">
<span></span>
<br/>
<!- ->
<link rel="" type="" href="" />
<div></div>

Example with more tags

<html>
    <head>
        <title> This is my title </title>
    </head>
    <body>
        <h1> Big header </h1>
        <!- this is a comment ->
        <p>
            start of a new paragraph
            <br /> <!- line break ->
            <a href="www.google.com">GOOGLE</a>
            <!- a link to google -> 
        </p>
        <p>
            another paragraph with a picture
            <img src="picture.jpg">
        </p>
    </body>
<html>