Hy, I am new to html and I'm trying to make a site with a menu. The site has more pages so I have to copy the menu on all pages. What I am asking you is, there is no other way to import the menu (for example to import it from a menu.html page) so that i will not be forced to copy-paste it?
You need to use master page.
read about it here: http://msdn.microsoft.com/en-us/library/wtxbf3hh.ASPX
create one menu.html page and include all menu items in this page and then
<!--#include file="menu.html"--> this will do the job for you.Keep both file in same directory.
No comments:
Post a Comment