Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

How to create a HTML Template

Hi, I am new creating a web page and I am not sure if I am in the right direction.  I need your help experts!

I would like to design a web page that will have a logo and a menu on the left.
Using <div> I have create a "container" that has different sections (<div>)  like "header", "sidebar","mainContent".

something like
div id="container"  >
  <div id="header">
    <img src="logo.GIF"alt="logo" />

<div id="sidebar">
    <ul id="menu">
       <li id="active"><a href="option1.html" id="current"> option1 </a></li>
       <li <a href="option2.html" > option2 </a></li>
       <li <a href="option3.html" > option2 </a></li>
  <div id="mainContent">
(I have a css file to control the setting of each element in the html and I am going to use jsp language to run the business part)

Every option (each html file) will ask for a  particular form that I will show on the mainContent div section. Every time I select an option I will get the right form.

 I was reading that I can use a dwt file to create a template that will have all the non-editable regions but I dont have dreamweaver license. Is there any other way to create a template so if I change something in the template, this change will appear in multiple pages (option1.html , option2.html, option3.html) automatically,

thanks in advance

  • 2
  • 2
1 Solution
Three experts commented at your last question.
Why haven't you responded in the past week ?
alasdemarfilAuthor Commented:
I am still working on the solution of the other question, I am not an expert, that is why it is taking time to solve it. Why are you asking me that?
>Why are you asking me that?  
Because I wanted to see if you would respond to a question.
I think you should answer the questions posted by the other experts at your other question.  You should at least tell them what you are doing.    If you keep a discussion going, then experts will be able to help you further.  

As for a solution here, the easiest way is to use the standard action <jsp:include>  to compose your pages.
Also see  

If you keep discussion going here, then maybe experts will give you other ideas.
alasdemarfilAuthor Commented:
good information, excellent! thanks! helped me a lot

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now