Basic HTML Web Page for the week 3 lab

Block and Inline Elments

This is plain text and it is a block element.

This is another block element.

This is a block element with a bold word.

        var x=10;
        print(x);
        



Attributes

The class attributes allows you to identify the current tag and it can be used for multiple tags. It can be used as for CSS or HTML.

The class attributes allows you to identify the current tag and it can be used for multiple tags. It can be used as for CSS or Javascript.

The id attributes allows you to identify the current tag and it must be unique. It can be used as for CSS or Javascript.

The id attributes allows you to identify the current tag and it must be unique. It can be used as for CSS or Javascript.




Images

cat winking cat winking
Fig. 1 A directory structure



Links

Go to My GBlearn

One of the best resources for HTML is W3 Schools

This is my template file.

This is my index file. using a root relative path.

This is my index file. using a document relative path.