HyperText Markup Language/Tag List/meta

From Wikibooks, open books for an open world
Jump to: navigation, search

Use[edit]

This is used to set properties on the webpage. For example, special characters.

Example[edit]

<meta http-eqiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Keywords" content="Programming, Software, Computer" />

Required attributes[edit]

content[edit]

This simply declared the characters that are going to be used in the webpage and what the document will contain.

Optional Attributes[edit]

http-equiv[edit]

This tells the browser the type of webpage it is.

name[edit]

Name of the meta tag.

Standard attributes[edit]

More info[edit]

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).