HyperText Markup Language/Tag List/meta

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

Use[edit | edit source]

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

Example[edit | edit source]

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

Required attributes[edit | edit source]

content[edit | edit source]

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

Optional Attributes[edit | edit source]

http-equiv[edit | edit source]

This tells the browser the type of webpage it is.

name[edit | edit source]

Name of the meta tag.

Standard attributes[edit | edit source]

More info[edit | edit source]

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