HTML as a server-side programming language [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was reading a Wikipedia article when I came accross this page.
Can anyone explain to me the meaning of HTML used as a server-side programming language?

Looks like the information was incorrectly taken from This blog post (it's the reference on the wiki page you linked)
The image on the blog that relates to server-side programming languages is this: http://blog.stoneriverelearning.com/wp-content/uploads/2015/11/blog3.jpg
Looks like whoever transcribed the information confused "Ruby and others" with "HTML" somehow.
All in all this is a good demonstration of why wikipedia isn't a flawless resource.

HTML is used for rendering contents of a web page.I am not sure if it can be used as a programming language.It is a markup language as I understand.

Related

How can I design pages with this structure? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
I have had a great doubt for a long time, and I have been able to observe in some manufacturers that chips and tutorials, such as espressif or microchip technology, use pages with this format in some of their tutorials:
I would like to know if this page format is some standard or is it just a popular template that is often used or generated with some framework?
It would be interesting to be able to implement some identical format, I hope you can help me.
This is made using a document generator, and there are lots of them out there.
The specific one in your image example seem to be Read the docs.
You can look up "documentation generator" or "static documentation generator" for more examples.

How do I find the language declaration for this Chinese website? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I need to record some detailed info for a number of web pages. Most of this info I've been finding by inspecting each page's HTML code.
For the language attribute, I've been searching 'lang', 'language', and 'content-language' if the info isn't readily available in the metadata or header. Which until now has been working.
I'm stumped on a Chinese site. I've scrolled though a lot of the site's code, but I'm not familiar with HTML or XML or website programming in general, so I don't know whether I'm looking in the wrong spot or if I should be looking for something else entirely.
This is the individual product page I started at. I've looked at the code for the main site too with no luck.
Not all websites declare their content language explicitly. If you cannot find any lang HTML attributes, and the site doesn't send a Content-Language header, you'll just have to guess the language by analyzing the contents of the page.

Security issues in third party HTML content [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a site currently under development which I allow users to post comments. I want to know if there is a potential security issue if a user maliciously posts HTML elements. I know allowing javascript or CSS is dangerous, but what about HTML?
Yes, there are security issues like iframe as mentioned in the comments. OWASP has a very detailed page on dealing with 3rd party content here: https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet .
Various languages offer libraries to deal with this:
Rails: http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html
PHP: http://htmlpurifier.org/comparison
Many different HTML elements can be used in malicious ways, though iframe and script are the worst. The safest solution is to allow a formatting-only language such as Markdown that can easily be used with most server-side languages.

What is microdata structure or html tags to express developer of site/make reference? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to put some information about developer of site and not know how to do it in HTML or with use microdata or note (i.e. schema.org or other).
Can you share some how to put information about developer (I will be partially author, publisher)?
If the developer is not the publisher/creator/editor/author/contributor of the page/content, you cannot use properties of http://schema.org/WebPage nor the Dublin Core vocabulary.
Maybe you could use the properties foaf:made and/or foaf:maker from the FOAF vocabulary. But I’m not sure about it, as they seem to be closely related to dc:creator, which wouldn’t be appropriate. Maybe have a look at foaf:currentProject and foaf:pastProject, too.
The humans.txt could be used to informally note any developers/designers etc.

gettext for HTML or LaTeX? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there something like gettext for HTML or LaTeX? It would be great for generating simple bilingual webpages or LaTeX documents that should be kept in sync.
Is there something like that already? I guess there must be some Perl script for that, but I couldn't find one. :-)
Thanks!
Probably not. Translation software is problematic because of the differences in connotation and grammar from language to language. I'd imagine (though i've never used gettext) that gettext might work OK for short strings, but for a full document, you're sure to run into problems.