asp.net.ph

Skip Navigation Links

CONTENT Attribute | content Property

Language References


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



© 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