1 / 8

Learn Advanced and Basic HTML - Lesson 8

With HTML you can create your own Website. This tutorial teaches you everything about HTML. For full HTML course visit our website www.training-n-development.com

Download Presentation

Learn Advanced and Basic HTML - Lesson 8

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Learn HTML BasicsLesson No : 08 Publisher : Attitude Academy

  2. HTML iframe Tag Iframe Syntax The syntax for adding an iframe is: <iframe src="URL"></iframe> The src attribute specifies the URL (web address) of the iframe page.

  3. Iframe - Set Height and Width Use the height and width attributes to specify the size. The attribute values are specified in pixels by default, but they can also be in percent (like "80%"). <body> <iframe src="ani.gif" width="200" height="200"></iframe> </body>

  4. Use iframe as a Target for a Link An iframe can be used as the target frame for a link. The target attribute of the link must refer to the name attribute of the iframe: <body> <iframe width="100%" height="150px" src="ani.gif" name="iframe_a"></iframe> <p><a href="url(path of file)" target="iframe_a">HTML</a></p> <p>When the target of a link matches the name of an iframe, the link will open in the iframe.</p> </body>

  5. HTML Entities Some characters are reserved in HTML. If you use the less than (<) or greater than (>) signs in your text, the browser might mix them with tags. Character entities are used to display reserved characters in HTML. A character entity looks like this: &entity_name; OR &#entity_number; To display a less than sign we must write: &lt; or &#60;

  6. Some Other Useful HTML Character Entities

  7. PRACTICAL IMPLEMENTATION

  8. Visit Us : Attitude Academy

More Related