speedyguy

Cyborg Agent
i need to write an xhtml code with a paragraph where i need to assign colors based on their words. for example, all prepositions with color red. how do i do that?

now what i know is, i can use css to assign colors, or use javascript to pass events. but how do i put up an if for a particular text (word)

Enjoy~!
 
OP
speedyguy

speedyguy

Cyborg Agent
take for simple example... an html paragraph <p> with all prepositions (like a,the,this,that,it etc) be colored red.

Enjoy~!
 
Top Bottom