• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weird class: class="brush:js; html-script:true;"

 
Martin Garrido
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I learn CSS and JS. While I was looking for syntax highlighting and I met with this classname, strange for me.

What do colon and semicolon mean in this position? and how can I put a own classname within this?

class="myclass brush:js; html-script:true;" doesn't work.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you see this? Some context would be nice. Otherwise we can only guess.

Martin Garrido wrote:class="myclass brush:js; html-script:true;" doesn't work.

Define "doesn't work". Please read ItDoesntWorkIsUseless.
 
Martin Garrido
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Where did you see this? Some context would be nice. Otherwise we can only guess.

Martin Garrido wrote:class="myclass brush:js; html-script:true;" doesn't work.

Define "doesn't work". Please read ItDoesntWorkIsUseless.


style of "myclass" has no effect with: class="myclass brush:js; html-script:true;"

<pre class="brush:js;"> and other tags in head must be placed to syntax highlight with software syntaxhighlighter.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like some program using class to hold information instead of using attributes or html5 data. Nothing special there.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic