Thursday, January 25, 2018

Lesson 16 (iframes)

It's -16°C this morning, and my spirit is broken: I want
cake for breakfast...
                                *     *     *
iframes are a powerful html feature: they allow one to show
a Web page within a Web page. This is perfect for my Recipe Box
food site; I want to be able to refer the user to a tasty recipe on
another site.

There are two versions of the code for this. The first simply opens
a site showing a page from another site within it. The second version
- more likely - forces the user to click on the site for it to appear.
It makes use of the targetproperty. (Specified within an anchor tag,
target:blank will open in a new window...)
source: W3 Schools







No comments: