Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Is FORM a Block Element
Is FORM a Block Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements
✍: FYIcenter.com
Is <FORM> a block element? The answer is yes. <FORM> is behaves like a <P>.
Below is a good example of a floating block element and a floating inline element:
<html><head>
<style type="text/css">
DIV.page {width: 425px; border: 1px solid black}
FORM {background-color: #ddddff}
</style>
</head><body><div class="page">
<H3>Box Formatting Model</H3>
<script language="JavaScript">
for (j=0; j<80; j++) {
document.write(j+' ');
}
</script>
<form>Form starts
<script language="JavaScript">
for (j=0; j<80; j++) {
document.write(j+' ');
}
</script>
Form ends. </form>
<script language="JavaScript">
for (j=0; j<80; j++) {
document.write(j+' ');
}
</script>
<p align="right">By FYICenter.com</p>
<div></body></html>
Save this document as formBlock.html, and view it with a browser,
you will see something like this:

2007-05-11, 5259👍, 0💬
Popular Posts:
What is CMM and different levels? explain? The Capability Maturity Model (CMM) is a process capabili...
How To Return Top 5 Rows? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If you want ...
What Is the "@SuiteClasses" Annotation? "@SuiteClasses" is a class annotation defined in JUnit 4.4 i...
1. What is normalization. 2. Difference between procedure and functions. 3. Oracle 9i Vs 10g. 4. how...
How To Create an Add-to-My-Yahoo Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...