HTML iFrame support many major attributes common to HTML and CSS including class, id, title and style. It also includes optional attributes like align, height, scrolling, src, width and selectFrame. The selectFrame attribute can highlight specific tags within the iFrame content. This function only highlights the tags chosen within the iFrame section and leaves out all others.
Type "selectFrame("");" in the "<head>" section of your page.
Type the name of the tag you wish to highlight inside the quotation marks within the parentheses. For instance, if you wanted to highlight the <span> tag within your iFrame content, you would type "selectFrame("<span>");" in the "<head>" section.
Click the "File" menu button and then choose "Save." The tags selected appear highlighted in the iFrame content section.
- Photo Credit Comstock/Comstock/Getty Images