The code below explores these attributes in more detail:
<HTML> <HEAD><TITLE>My third framed page</TITLE> </HEAD> <FRAMESET COLS="20%, 80%" FRAMEBORDER="YES" BORDER="3"> <FRAME SRC="menu.html" NOSIZE SCROLLING="YES" NAME="menuframe" MARGINWIDTH="0" MARGINHEIGHT="5"> <FRAME SRC="main.html" NORESIZE SCROLLING="AUTO" NAME="mainframe"> </FRAMESET> <NOFRAMES> There is no frame support on your browser. </NOFRAMES> </HTML>
We’ll name this file frames3.html. You can test it by click here.
Though a border is displayed between frames you will not be able to drag it and resize the frames. This is because of NORESIZE attribute. (You can resize frames in frames.html).
The two frames now have names, the left is called menuframe while the right mainframe.
We have specified ‘YES’ as the value for SCROLLING attribute of menuframe, so a scroll bar is displayed.
MARGINHEIGHT attribute in menuframe puts a 5 pixel space between the top and bottom edges and the contents. MARGINHEIGHT with 0 value causes the contents of menuframe to be placed sticking to the left edge.
SCROLLING for mainframe has been set to AUTO, which places the decision of putting scroll bars on the browser. In our case, these bars are not required, hence not displayed.
MySQL is named after My, the daughter of Michael Widenius, the creator of the world famous database system. MySQL is the one of the most popular databases used on the web powering content management systems (CMSs) such as WordPress and Joomla [more...]