Monday, 9 March 2015

Build Simple Website Using HTML ||Lesson 2||

Lesson No. 2
Today we learn some more tags and frames.
Following are some important tags.



<html>

<head>

<title>This is title</title>

</head>

<body bgcolor="yellow">Change the Background color of body

<H1 align="center"> Show Heading in the MIDDLE of the page, with heading level 1 </H1>

<H2 align="right"> Show Heading in the RIGHT of the page, with heading level 2 </H2>

<H3 align="left"> Show Heading in the LEFT of the page, with heading level 3 </H3>

<a href="http://edhelpers.blogspot.com/"> To Add Links in a Page </a>

</body>

</html>



Some Important Abbreviations….

HTML    = Hyper Text Markup Language
 

HREF    = Hyper Reference

SRC    = Source
 

A    = Anchor Tag
 

b    = Bold
 

i    = Italic
 

u    = Underline
 

p    = Paragraph


And here are some Frame Tags. Frame tags are used to divide your webpage in different rows and columns. 


1.    In front of FRAMESET tags, the Percentages shows the different parts of page.


2.    And *Percentage show the rest of the part of page. 


3.    And FRAME tag shows that which of your web page show in which column. 


4.    After implementing you can adjust the width of columns by just using courser on webpage. Click on column line and adjust as you want.

<html>

<frameset cols="25%,30%,*%">

<frame src="lesson 1.html">
<frame src="lesson 2b.html">
<frame src="lesson 1.html">

</frameset>

</html>




5.    But you can restrict your frame not resize. Codes are as given below.
6.    Just like column you can divide webpage into rows as well.

<html>

<frameset rows="50%,50%">

<frame src="lesson 1.html">

<frameset cols="25%,30%,45%">

<frame src="lesson 2.html">

<frame src="lesson 1.html">

<frame src="lesson 2.html">

</frameset>

</frameset>


</html>


0 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks