Through code I can not generate text in iFrame

here the code of my iFrame but text is not actually shown in the frame

.iframe {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    font-style: normal;
    line-height: normal;
    font-weight: lighter;
    background-attachment: inherit;
    background-repeat: repeat;
    background-position: top;
    text-align: left;
    white-space: normal;
    float: inherit right;
    widows:inherit;
    volume:silent;
    border-left-style: dashed;
    list-style-type: circle;
    cursor: default;
    filter: Glow(Color=#345, Strength=2);
}

code for frame in html tag

  <iframe class="iframe" align="middle" height="500" width="1000">
      <font color="#00FF33" style="animation:ease-in-out" face="Arial, Helvetica, sans-    serif">hello guys i am dhaiwat....</font>
  </iframe>

how can get the text inside it...

Answers


<iframe> content is set by the url attribute like this: url="http://example.com". The actual page (in this case examplel.com) is loaded in the iframe box. For setting regular content you should use <div>,<span> or other semantics.

A good reference is w3schools (link1, link2) where you can find a lot of information about html tags.

PS: the <font> tag is deprecated, so you shouldnt use it anymore


Your missing an tag. also are you trying to get the page inside the frame itself to be specific. The page being loaded in the frame will have to be specified using its own dependencies


Need Your Help

iOS / MonoTouch equivalent of Windows Forms show/hide dialogs?

c# .net winforms ios monotouch

Getting lost in how things are "supposed" to be done in iOS. A couple basic questions...

About JAVA encoding recognition

java encoding utf-8

I have a string like "%E6%B1%82%E5%8A%A9".

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.