-
Recent Posts
Recent Comments
Archives
Categories
Ads
Category Archives: HTML
DOCTYPE Declarations
The first thing that should be in your HTML files is a DOCTYPE declaration. In the past, I have simply copied them when I have used them at all, without really thinking about what was in them. Today, I have … Continue reading
Displaying the Correct Time for Your Time Zone
Let’s say that you want to display the time on your HTML page. You could do it like this in test.html: <html> <body> <!–#config timefmt=”%I:%M %p %Z” –> <p><!–#echo var=”DATE_LOCAL”–></p> </body> </html> That works fine as long as your ISP … Continue reading
Displaying a Copyright Year on an HTML Page
Let’s say that you’re building a large website in HTML. The client wants to display a copyright declaration on each page of the site using the current year. If the year is hard-coded on the site on each page, this … Continue reading
Including HTML Files in an HTML File
Let’s say that you are building a site with several different HTML pages. You want them all to have the same template and menu structure. This would require a lot of duplicated code in each page of the site. Wouldn’t … Continue reading