Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
b tag
dfn tag
em tag
i tag
pre tag
q tag
samp tag
var tag
TAG: strong
<strong> ... </strong>
The
strong
tag is is used to provide a strong emphasis when displaying the enclosed word or phrase. Most browsers do this by rendering the selected text in bold which makes the characters thicker and slightly bigger in appearance than the surrounding text. Of course, you can also do this using the
b
tag.
If you wish to have less emphasis, you can use the
em
tag which usually renders in italics, rather than in bold.
The separate closing tag is mandatory.
Attributes and Events
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>DevGuru XHTML strong Tag Example</title>
</head>
<body>
Did you know that the <b>Guru</b> is over <
strong
>800<
/strong
> years old?
<br />
Did you know that the <b>Guru</b> is over <em>800</em> years old?
</body>
</html>
Output:
Did you know that the
Guru
is over
800
years old?
Did you know that the
Guru
is over
800
years old?
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information