asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > CONTENT Attribute

CONTENT Attribute | content Property


Sets or retrieves meta-information to be associated with HTTP-EQUIV or NAME.

Syntax

Inline <META CONTENT = sDescription...>
Script meta.content = sDescription ]

Possible Values

sDescription String specifying the meta-information.

The property is read/write with no default value.

Example

The following example causes the browser to reload the document every two seconds.

<META HTTP-EQUIV="REFRESH" CONTENT=2>

This example sets the character set for the document.

<META HTTP-EQUIV="Content-Type"
  CONTENT="text/html; CHARSET=Windows-1251">
Applies To

META



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note