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>
\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}
\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}
Comments
Post a Comment