HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.

learn more… | top users | synonyms

3
votes
5answers
174 views

Should putting html tags into localization files be avoided?

We are localizing all parts of our website to many languages. We use XML localization files. I think this scenario is so common, and even there should be a standard solution to this, but still I ...
1
vote
2answers
133 views

Hide admin menu if no admin option is available

If you have a menu "Admin tasks" and different admin tasks (like 10) that you could separately assign to each user, but there are users who don't have any admin tasks, how would you deal with "Hiding ...
0
votes
1answer
109 views

What's the best method for ignoring the BBCode between <code> tags in a full-post BBCode parser?

To clarify on the title a bit more, this is for a plugin for my forum. I'm doing this: div.html( parser( div.html() ) ) When sending the html string to the parser, of course I get something like: ...
0
votes
0answers
34 views

Managing Login Authentication/Webpage session: Can client side javascript/JQuery access either a session variable or json variable in html?

Short version: A variable is stored in a session variable req.session.userName and also in the json sent with res.render('/', {username: value}). How can I access either of those variables from inside ...
0
votes
0answers
26 views

Decoupling HTML pages from App deployment

I work on an app where offline functionality is an integral part of the app. When small tweaks are necessary for the HTML pages, we need to redeploy the app in order for the changes to take effect ...
0
votes
0answers
315 views

Benefit of using Data URI to embed images within HTML document and its cross-browser compatibility

I want to embed an image using Data URI within HTML document so that we don't need image as a separate attachment, we get just one HTML file that contains the actual image. What are its advantages and ...