To create an html page with frames and frameset

Layout Of HTML Frame

HTML Source Code:

<!DOCTYPE html>
<html>
<frameset rows="50%,*" >
<frameset cols="50%,*">
<frame src="E:\documents\IM LAB\html\HTML1.html">  HTML Page 1
<frame src="E:\documents\IM LAB\html\HTML2.html">  HTML Page 2
</frameset>
<frameset cols="25%,37.5%,37.5%">
  <frame src="E:/documents/IM%20LAB/html/sanjam.jpg">  YOUR PICTURE
  <frame src="E:\documents\IM LAB\html\HTML3.html">   HTML Page 3
<frame src="E:\documents\IM LAB\html\LinkToHtml.html">  HTML Page 4
    </frameset>
</html>

Output:




Include the following source Code in Document Environment in your LaTeX File

LaTeX Source:

\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{multicol}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{transparent}
\usepackage{multirow}
\usepackage{eso-pic}
\usepackage[utf8]{inputenc}
\usepackage{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand\BackgroundIm{
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{
\vfill
\centering
{\transparent{0.05} \includegraphics[height=\paperheight,width=\paperwidth,
keepaspectratio]{gne}
\vfill
}}}}
\begin{document}
\AddToShipoutPicture{\BackgroundIm}
\newpage
\pagenumbering{gobble}\section{\emph{To create an html page with frames and frameset. }}
\subsection{\emph{Code Main Page:}}
\begin{verbatim}
<!DOCTYPE html>
<html>
<frameset rows="50%,*" >
<frameset cols="50%,*">
<frame src="E:\documents\IM LAB\html\HTML1.html">
<frame src="E:\documents\IM LAB\html\HTML2.html">
</frameset>
<frameset cols="25%,37.5%,37.5%">
<frame src="E:/documents/IM%20LAB/html/sanjam.jpg">
<frame src="E:\documents\IM LAB\html\HTML3.html">
<frame src="E:\documents\IM LAB\html\LinkToHtml.html">
</frameset>
</html>
\end{verbatim}
\subsubsection{\emph{Output:}}
\begin{figure}[h]
\centering
\includegraphics[scale=0.3]{html4Frame}
\caption{Output Of FRAME Page}
\end{figure}
\end{document}

Output:

Comments

Popular posts from this blog

Program to illustrate the concept of templates.

To create an html file to implement the concept of margin, padding using cascading style sheets.

To configure the IP address for a computer connected to LAN