what does the + sign mean? As the title says, What does the + sign mean in

<script type = "text / javascript + protovis"> what does the + sign mean?

As the title says,

What does the + sign mean in <script type="text/javascript+protovis"> ?

Are there any good materials?

+6
source share
1 answer

Shamelessly stolen from another answer here .

The template for naming mimetypes is as follows:

A point hierarchically separates several โ€œelementsโ€ (for example, config is a child of iptv, that is, a child of nokia, that is, a child of VND).

The hyphen separates compound words (as in google-earth and openxmlformats-officedocument).

The plus sign serves to further indicate the serialization format (+ json and + xml in these examples).

The x prefix should be used for MIME types not registered with IANA (and thus not shown in this list).

In addition, text/javascript+protovis not equivalent to text/javascript . Two can be handled differently.

+1
source

Source: https://habr.com/ru/post/921744/


All Articles