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
br tag
pre tag
TAG: p
<p> ... </p>
The
<p>
tag is used to signify the beginning of a paragraph and is analogous to having both a line break and a carriage return occur. The flow of the display of the text and any images is halted on the current line, an entire line is skipped (or a certain amount of white vertical space), and then the flow resumes starting at the left margin (by default).
The 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 p Tag Example</title>
</head>
<body>
My favorite fish!
<
p
>
The pseudotrophus "Acei" cichlid came from Lake Malawi in Africa...
<
/p
>
...while the Showa Koi in my pond came from Japan.
</body>
</html>
Output:
My favorite fish!
The pseudotropheus "Acei" cichlid came from Lake Malawi in Africa...
...while the Showa Koi in my pond came from Japan.
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information