Professional Documents
Culture Documents
Coding
Coding
- Tags are used to describe a webpage. Tags are surrounded by crocodile .(<head> </head>)
- Shows what a webpage is supposed to look like
- Properties are used to describe or give more information about a tag/ element. Some
properties are always needed for certain tags.
- E.g. height, style and src
<a> tag
Style tag
Id property
- Id stands for identifier. The id property can get attached to every tag. The id must be unique
on each web page.
Class property
Commenting
Link tag
- The link tag belongs in the head. It is different from the a tag.
- There are 2 required properties in the link tag, they are:
o href – the path (location) to the stylesheet
o rel – stands for relationship. Must be “stylesheet”