|
|
|
|
|
by fauigerzigerk
5691 days ago
|
|
<p class="content">Then help me translate this into <span class="highlight">JSON</span> please</p> How about that way: {tag: "p", class: "content", text: ["Then help me translate this into ", {tag: "span", class: "highlight", text: "JSON"}, " please"]} And that's just a small example where you can see all the start and end tags on one screen. Now change the example to insert a hyperlink, say, around the word "help". How easy is it to change? |
|