This is especially important when you want to create links in one frame that load pages into an another frame, in which case the second frame needs a name to identify itself as the target of the link. It is used to indicate which frame a document should be loaded into. This attribute allows you to give a name to a frame. For example, src = "/html/top_frame.htm" will load an HTML file available in html directory. This attribute is used to give the file name that should be loaded in the frame. Note − The frameborder, marginwidth, longdesc, scrolling, marginheight attributes deprecated in HTML5. Most of the attributes of the tag, including name, class, frameborder, id, longdesc, marginheight, marginwidth, name, scrolling, style, and title behave exactly like the corresponding attributes for the tag. This will produce the following result − The Tag Attributes
0 Comments
Leave a Reply. |