Tuesday, September 1, 2009

HTML basic structure

One HTML page can have the following tags only once
  1. <html>
  2. <head>
  3. <title>
  4. <body>
All the rest of tags could be in multiple numbers.

When you include files using either by SSI (<!--#include virtual="filename" --> or <!--#include file="filename" -->) include directive (<%@ include file="filename" %>) or jsp:include element (<jsp:include page="filename" />), make sure that you don't put the above four tags in the file to be included, otherwise they will create a conflicting situation with multiple tags.

No comments:

Post a Comment