Basic HTML Web Page for the Comp1234 Lab

Block and inline elements

This is a small subheading and a block element.

This is some text and it is also a block element.

This is a block element with a bold inline element and italic element.




Attributes Section

This id attribute allows us to uniquely identify an element/tag and allows us to select that element with CSS or Javascript.

This id attribute allows us to uniquely identify an element/tag and allows us to select that element with CSS or Javascript.

This class attribute allows us to group identify an element/tag and allows us to select those elements with CSS or Javascript.

This class attribute allows us to group identify an element/tag and allows us to select those elements with CSS or Javascript.




Link/Anchor Section

w3 schools using an absolute reference.
w3 schools using an absolute reference.

One of the better reference sites is w3 schools using an absolute reference.

This is my: exercise02.html file using a document relative reference.

This is my: exercise02.html file using a root relative reference.

This is my: index.html file using a document relative reference in the public_html folder.

This is my: index.html file using a root relative reference in the public_html folder.




Images Section

cat winking cat winking cat winking cat winking