Results 1 to 4 of 4

Thread: <iframe> tag Standard Attributes for HTML

  1. #1
    Join Date
    Nov 2009
    Posts
    64

    <iframe> tag Standard Attributes for HTML

    I have just started to learn HTML i.e. Hyper Text Markup Language. This is my first web development language which I am learning. But still it is very easy to understand. I am now on a topic called Inline Frame i.e. the <iframe> tag in HTML. What are its Standard and Optional attributes. How to deal with browsers which do not support iframes.

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: <iframe> tag Standard Attributes for HTML

    Code:
    <html>
    <body>
    <iframe src ="inlinefrm.html" width="80%" height="80%">
      <p>Inline Frame</p>
    </iframe>
    </body>
    </html>

    The above HTML code snippet will display an inline frame. The src attribute specifies the file to be displayed in the frame section. Thus, the inline frame is defined by an <iframe> tag in HTML that can be used for including external objects such as other HTML files as well.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: <iframe> tag Standard Attributes for HTML

    Following are the Standard Attributes for the HTML tag <iframe>:
    1. class: This value signifies the element with a class name.
    2. id: This value signifies an element with a unique ID.
    3. style: This value is signifies an element with an inline style.
    4. title: This value is used to provide extra information about the elements.

    If you are coming across a web browser which does not interprets iframe tag, you would have to place within the <iframe> and </iframe> tag. The content in an element of iframe is served as an alternative for web browsers that do not support inline frames or are not configured to show inline frames.
    Last edited by Reegan; 08-12-2009 at 02:23 AM.

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    Re: <iframe> tag Standard Attributes for HTML

    I have just completed studying HTML recently and now I am studying ASP.Net now. I have to admit that HTML is the easiest of all Web Based languages to develop Web Pages. The optional attributes for inline frames include: align, frameborder, height, longdesc, marginheight, marginwidth, name, scrolling, src, width. If you want to include a target for other links then inline frames are there to be used for this purpose.

Similar Threads

  1. Replies: 5
    Last Post: 25-05-2011, 10:21 PM
  2. Need Semantic HTML tags and attributes
    By Muwafaq in forum Software Development
    Replies: 5
    Last Post: 17-02-2010, 12:44 AM
  3. Style HTML Elements With Specific Attributes
    By Bigga Lexx in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 04:45 AM
  4. Computer infected by TrojanClicker:HTML/Iframe.G
    By KAMANA in forum Networking & Security
    Replies: 3
    Last Post: 10-12-2009, 06:47 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,748,607.76250 seconds with 16 queries