Forbidden tags (or, nothing shall come of nothing)

  • Thread starter tiny-tim
  • Start date
In summary, forbidden tags are HTML tags that are not allowed or supported by certain web browsers or web standards. It is important to know which tags are forbidden in order to ensure consistent display and prevent errors in your webpage. While it is generally recommended to avoid using forbidden tags, there may be situations where they can be used with workarounds. Common examples of forbidden tags include <code>&lt;font&gt;</code>, <code>&lt;center&gt;</code>, and <code>&lt;strike&gt;</code>, which have been replaced by CSS for better web design practices. However, there are usually alternative ways to achieve the same effect using modern techniques such as CSS and JavaScript. It is recommended to use these methods for better compatibility and
  • #1
tiny-tim
Science Advisor
Homework Helper
25,839
258
I tried to add the tag "nothing" to a thread about nothing, and got a refusal:

Tags cannot be overly common words (nothing).

What's so common about "nothing"? :grumpy:
 
Physics news on Phys.org
  • #2
Nothing.


OK, more seriously. Common words are probably selected due to the frequency with which they are used. The more frequent the word, the less it says about the content, thus ignoring it won't hurt.
 

1. What are forbidden tags?

Forbidden tags refer to HTML tags that are not allowed or supported by a certain web browser or web standard. These tags can cause errors or unexpected behavior in the display of a webpage.

2. Why are forbidden tags important to know?

Knowing which tags are forbidden can help ensure that your webpage displays correctly and consistently across different browsers and devices. It can also prevent potential issues and errors in your code.

3. Can forbidden tags be used at all?

It is generally recommended to avoid using forbidden tags in your HTML code. However, some tags may be allowed in certain situations or with certain workarounds. It is best to refer to the official documentation for the specific web browser or web standard you are working with.

4. What are some common examples of forbidden tags?

Some common forbidden tags include <font>, <center>, and <strike>. These tags are often used for styling text, but have since been replaced with CSS for better web design practices.

5. Are there alternative ways to achieve the same effect as forbidden tags?

Yes, there are usually alternative ways to achieve the same effect as forbidden tags using modern web design techniques such as CSS and JavaScript. It is recommended to use these more up-to-date methods for better compatibility and maintainability.

Similar threads

  • Feedback and Announcements
Replies
4
Views
1K
  • Feedback and Announcements
Replies
2
Views
853
  • Introductory Physics Homework Help
Replies
1
Views
439
Replies
1
Views
746
  • Feedback and Announcements
3
Replies
71
Views
4K
  • Introductory Physics Homework Help
Replies
17
Views
377
  • Engineering and Comp Sci Homework Help
Replies
3
Views
809
Replies
2
Views
661
  • Engineering and Comp Sci Homework Help
Replies
11
Views
1K
  • Introductory Physics Homework Help
Replies
29
Views
921
Back
Top