Frames-Html

March 10, 2009 at 6:54 am | In Ultimate Concepts-Html | Leave a Comment
Tags: , ,

You might have seen most of the sites completely enriched with the frames. So today i’m going to discuss the same that how can you enrich your site with the frames. So here i go:-

Tag Name-<frameset>

Descripton-It basically allow us to add up frames into a html enriched web page. The attributes for it are-

  • Rows- i.e if you want to split the webpage into the rows.(mention the percentage in which you want to split the webpage into the rows value=”50%,50″ or “20%,80%” etc.)
  • Cols- i.e if you want to split the webpage into the columns.(mention the percentage in which you want to split the webpage into the columns value=”50%,50″ or “30%,70%” etc.)
  • Frame Border- i.e to set the size of the frame border.(value=”5″)
  • Bordercolor- i.e to set a particular colour for the border.(value=”Red”)
  • Scrollbar- i.e to decide the facility of scrollbar.(value=”Yes/No/Auto which is default”)

Tag Name-<Frame>

Description- Now after specifying the frameset tag you have to use the frame tag which basically allow you to tell the browser that which webpage to placed in which frame. It’s attributes are-

  • Name- i.e to set a particular name for the frame.(value=”abc”)
  • Src- i.e to specify the source file which you want to load in a particular frame.(value=”main.html”)

Ultimate Example

  1. <html><head><title>Frameset Example</title></head><frameset rows=”20%,80%”><frame name=”above” src=”above.html”><frame name=”below” src=”below.html”></frameset></html>
  2. <html><head><title>Frameset Example</title></head><frameset cols=”20%,80%”><frame name=”left” src=”left.html”><frame name=”right” src=”right.html”></frameset></html>
  3. <html><head><title>Frameset Example</title></head><frameset cols=”50%,50%” rows=”50%,50%”><frame name=”left” src=”left.html”><frame name=”right” src=”right.html”><frame name=”above” src=”above.html”><frame name=”below” src=”below.html”></frameset></html>

Outputs

rows

cols

 

full

HTML-Tags

February 26, 2009 at 1:40 pm | In Ultimate Concepts-Html | Leave a Comment
Tags: , , , ,

Most of us have a common query related to HTML and that is ,”can we insert a sound file in a webpage using html?”. So i may add up to your knowledge my friends that yes it’s absolutely possible(afterall nothing can be impossible yaar).For this you have to do this only:-

“<embed src=”filename.fileformat”></embed>”

Yes “EMBED” tag is used for inserting a sound file.It also has many other features like:-

Width=Width of the media player.(In pixels or percentage)

Height=Height of the media player.(In pixels or percentage)

Hidden=To make the media player hidden i.e is only sound plays but no media player is displayed.(True/False)

Volume=Adjust the volume level.(0-100;by defualt it is 50)

Loop=The no. of times file to be played.(Any integer value)

Autostart=To play the sound automatically.(True/False)

Ultimate Example:

<body><Embed Src=”xyz.mp3″ Width=”100″ Height=”33%” Autostart=”True” Loop=”2″ Volume=”60″></Embed></body>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.