codescracker


html

HTML Phrasing Tags



« Previous Tutorial Next Tutorial »


Phrasing tags are used to represent the text of the HTML document. These tags are also used to mark up the HTML document text within the paragraphs of the document. You can organize the text of your HTML document by using the HTML Phrasing tags.

HTML Phrasing Tags List

Following table list and describes all the phrasing tags available in HTML:

Tags Description
A
(if it contains only phrasing content)
Represents a link of an HTML document
ABBR Represents an abbreviation
AREA
(if it is a descendant of a map tag)
Represents an area of an image map
AUDIO Represents audio and sound streams
B Represents bold text
BDO Represents the text direction
BR Represents a line break
BUTTON Represents a push button
CANVAS Allows you to draw graphics using JavaScript
CITE Represents a citation
CODE Represents code text
COMMAND Defines a command
DATALIST Defines option for controls by using various tags, such as OPTION and INPUT
DEL
(if it contains only phrasing content)
Represents deleted text
DFN Represents the definition term
EM Represents an emphasized text
EMBED Represents a plugin content in an HTML document
I Represents italic text
IFRAME Represents an inline frame
IMG Represents an image
INPUT Represents an input control
INS
(if it contains only phrasing content)
Represents inserted text
KBD Represents keyboard text
KEYGEN Represents a control to generate key pair
LABEL Represents label for an input tag
MAP
(if it contains only phrasing content)
Represents an image map
MARK Represents a text in an HTML document that is highlighted for reference
MATH Defines math expressions in XHTML
METER Defines a measurement, such as disk usage
NOSCRIPT Represents alternate text to be displayed on the Web browser that does not support JavaScript or disabled JavaScript
OBJECT Represents an embedded object
OUTPUT Represents some output
PROGRESS Defines the progress of tasks and operations
Q Represents short quotations
RUBY Allows you to mark up ruby annotations in an HTML document
SAMP Represents sample computer code
SCRIPT Represents a client-side script
SELECT Represents a select list (drop-down list)
SMALL Represents a small text
SPAN Represents a section in an HTML document
STRONG Represents a strong text
SUB Represents subscript text
SUP Represents superscripted text
SVG Defines graphics in XHTML document
TEXTAREA Represents a multi-line text input control
TIME Defines date or/and time
VAR Represents a variable part of a text
VIDEO Represents videos or movies streams
WBR Defines a line break opportunity
TEXT Represents text in an HTML document

HTML Phrasing Tags Example

Here is an example uses a phrasing tag (<bdo> tag which is used to define the bi-directional override) in HTML.

<!DOCTYPE html>
<html>
<head>
	<title>HTML Phrasing Tag Example</title>
</head>
<body>

<p>The live given below is written from right to left.</p>
<bdo dir="rtl">This line will be written from right to left</bdo>

</body>
</html>

Here is the sample output produced by the above HTML phrasing tag example code:

html bi-directional override phrasing tag

« Previous Tutorial Next Tutorial »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test