TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 744
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 230
  • Total: 230

Adding a table to index.template

Started by sturmkatze, May 22, 2011, 03:02:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WillyP

Yes, you can comment out code. Html, css and php each have different methods. Commenting at random, though, won't work. The all have certain syntax that needs to be followed.

If you didn't know anything about html, for example, you might do something like this:
<div><!-- some content you don't want here</div>-->
which is invalid code, would almost certainly break your layout. Either of these would be correct:
<div><!-- some content you don't want here--></div>
<!-- <div>some content you don't want here</div>-->

but removing that div entirely or the content in it could still break your site.

So my point is that it is not enough to learn the code for commenting, you need to understand the code, at least a little, that you are commenting out. And how to troubleshoot when you get unexpected results.

Here is a site you might find useful: W3Schools Online Web Tutorials

This website is proudly hosted on Crocweb Cloud Website Hosting.