Page 113 - ConceptGP_C7_Fb
P. 113
</Style>
<BODY>
<p> Frame 1 </p>
</BODY>
</HTML>
Example: 2
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> iframes Example </TITLE>
<STYLE>
Body {Background-Color:Yellow; Color:Red}
</Style>
<BODY>
<p> Frame 2 </p>
</BODY>
</HTML>
Continuing with the above frames, we can customise the web pages as follows.
iFRAMES AND CSS
Let's learn the properties of CSS to make frames attractive.
HEIGHT AND WIDTH PROPERTIES
We can also use the style attribute and use CSS height and width properties to control the
frames.
Example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> iframes Example </TITLE>
<STYLE>
Body {Background-Color:Blue}
</STYLE>
</HEAD>
<BODY>
<H1 ALIGN = "CENTER"> Example of double spread containing inline
Images, Links and Forms in HTML5 111

