HTML CSS examples for HTML Tag:var
var element marks a variable in a programming context.
var element summary
Item | Value |
---|---|
Element | var |
Local local attributes | none |
Changed in HTML5 | N/A |
Style convention
var {
font-style: italic;
}
The following code shows how to use var element.
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <p> The variable in this example is <var>items</var> </p> </body><!--from w w w . j a v a 2 s .com--> </html>