Comp Lab 2
Using <meta> in an HTML5 page
1. Four
different uses of meta tage =
- Charset
– specify the character encoding for HTML document.
- Content
– specify the value associated with the http-equiv or name attribute.
- HTTP-euiv
– provides an HTTP header for the information/ value of the content attribute.
- Name –
specifies a name for the metadata.
2.
Before
meta tag
After
meta tag
3.
- Keep the
URL for the website simple – make it easier to search/find in the future.
- Make
sure each “page” of website has a unique title- tag
- Have
brief descriptions to prevent google from “cutting off” descriptive titles.
- Do not
use generic descriptors such as “this is a webpage about baseball card”
- “Naturally
Flowing” navigation links for website. General > specifics.
4. name="description"
content="Information on Fish Creek veterinary"
name="keywords"
content="Veterinary, appointments, Fish Creek"
two
lines of code that are included into the Fish Creek website.
Comments
Post a Comment