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

learn more… | top users | synonyms

-4
votes
0answers
11 views

How can I save a CSV file to my computer if I'm running a HTML page with JavaScript off of my computer?

I have an HTML page that I have made, I just use it as a home page, but how can I save a text file to my computer from it? I want to have elements of a JavaScript array saved to it ideally with plain ...
0
votes
1answer
54 views

Pre-Processors vs Pure Web

It seems like within the last few years or so HTML/CSS/JavaScript Preprocessors have exploded in quantity and general use. They're still not as common as pure HTML, CSS, and JS/jQuery, but their ...
-2
votes
0answers
33 views

Creating a website help [on hold]

​Hello, I don't know on which one to turn but you are my only source. Hi - I planing to open a website. I already have one made at WIX servers but I will be extending it to premium offer of theirs. ...
-5
votes
0answers
51 views

Can you please tell me ideas of a website or an app that you want to be invented? [on hold]

I am a programmer and I want to create a big project. I can code websites, desktop apps, and android. I just have no idea what I should program. Is there any thing that you want a website or app to ...
-3
votes
1answer
47 views

How would I start a website where people can upload pictures that are temporary? [on hold]

Would I need MySQL databases for the links to the pictures that would be stored on Amazon servers? What kind of web security would I need for uploads in order to prevent attacks? Can I scan files ...
-1
votes
0answers
13 views

How to use HTML Code Snippet? [migrated]

I am trying to create and use code snippets using Visual Studio 2005. I successfully created a snippet in VB.Net and used it by typing it’s shortcut and pressing tab. Now I am trying to use a html ...
-2
votes
0answers
45 views

Is it possible to capture keyboard input in the browser while the window is unselected? [closed]

For reasons I won't go into here, I need to receive keyboard input on a webpage. Is it possible to do this while the browser window is unselected? I'd rather not use Java, because of security ...
-3
votes
0answers
71 views

Python - Very hard task - How to get text from site [closed]

I want to get the text repeatedly because the site regenerating text faster in one line of webpage. How to do that? Several days past but I can't do that. This is my part of the code: soup = ...
-8
votes
0answers
39 views

Writing an application [closed]

I have done a lot of experimenting with all sorts of programming languages and am wanting to create a desktop application that can send and receive messages as well as notifications, etc from ...
-3
votes
0answers
25 views

How to use Multiple class in javascript function for testmonial? [closed]

I Have Two Div I want Use this Class For Testmonial Show Please Tellme How I use 2 class in one Function.
0
votes
1answer
52 views

Is it appropriate to use the unordered list (ul) element for composite content

I recently had a thought of utilizing the unordered list element to represent a list of composite content (such as a product list with details or an image list with captions). For example: ...
0
votes
0answers
29 views

Web App - Better to load Large, low quality image or many html elements?

I'm creating a web application that is visually enormous. I'm talking 2 million pixels wide and 2 million pixels tall (about). My goal is to show dynamically changing spots all over the site. For ...
0
votes
1answer
63 views

Javascript inline event handling versus external jQuery event handlers

Working on a dynamic website that loads information from a JSON file and then populates the page with said elements. My question has to do with event handling - as of now, I don't see any reason as ...
1
vote
1answer
87 views

Multiple CS Sheets or Javascript

I have a homepage with a navigationBar on top of the Viewport contains two buttons. One is the default selected home button which calls/displays home.html. The other for example is Ubuntu which calls ...
1
vote
1answer
157 views

Best use of the React frontend framework

I've been using rails' erb template for my views, but I've recently been trying to incorporate React as my front end framework. I'm a little lost on how front end frameworks are supposed to be used. ...
133
votes
8answers
12k views

Why are people making tables with divs? [duplicate]

In modern web development I'm coming across this pattern ever more often. It looks like this: <div class="table"> <div class="row"> <div class="cell"></div> ...
-2
votes
1answer
48 views

Reading from html page that needs cookies passed and form data [on hold]

I am writing a program in java in order to practice tough coding problems and learn more. Program description The program reads first names from a text file one by one, then enters them into facebook ...
1
vote
5answers
406 views

why are globals bad in javascript [duplicate]

I've been writing web applications for a while now , and everyone knows the one golden rule not to assign variables to the window object , don't ever assign a variable without using var. My ...
0
votes
0answers
91 views

Choosing a javascript framework for a massively multi-player game : React vs Ember 2 vs other better option

I'd like to add to my Ruby on Rails app a javascript front end using basically Rails a json api sending data to the front end. The question for me is: React or Ember 2 (or maybe another viable ...
0
votes
1answer
51 views

Detect request coming from iframe

I just had this awesome idea about simulating a single page application using iframes. I am using a framework that uses layouts to display pages. Luckily I can use an empty layout (meaning it has no ...
1
vote
1answer
97 views

When and why to use Page.ResolveUrl

So, i had a discussion with a colleague on why and where should we use Page.ResolveUrl("~/PageUrl.aspx") instead of ./PageUrl.aspx. For example, are there any differences between: <a ...
1
vote
2answers
121 views

Can i write html on one line only in my php code?

i need to embed a html 301 redirect in my php code and i wanted to save chars in my html. Can i write HTML on one line since it is parsed? Is there anything against this practice? ?> <!DOCTYPE ...
0
votes
1answer
59 views

Always set form input max length?

Background I'm looking to put together a single page web application with many form inputs. I've run into issues with other web pages where there is an ugly SQL error sent to the user if the ...
-1
votes
1answer
63 views

What is the easiest way to store a piece of text in an HTML page? [closed]

I'll say in advance - I have almost no experience with HTML. I am currently coding a game in Lua, which needs to access a piece of code from an HTML website using GET. My question is this: What is ...
1
vote
2answers
81 views

Semantics of heading levels in multiple sections in HTML5

I'm never quite sure what is the best, most semantic way to handle heading levels in HTML5 markup, when you have multiple sections. On one hand it makes sense to have an H1 heading as a title of a ...
1
vote
1answer
60 views

Is it OK to replace html on resize?

I was asked to take over a web project. It is supposed to be a responsive website, but the former programmer didn't write the HTML/CSS with responsivity in mind and adding code to make it responsive ...
2
votes
1answer
224 views

Does react.js make sense for a static content-driven site?

I'm pretty sold on the react.js model because it makes DOM manipulation so smooth and comprehensible. But I'm wondering how it could be leveraged for a site that's largely static with big blocks of ...
1
vote
3answers
119 views

Is Doctype needed for HTML5 documents

Recently I had a job interview and one of the questions was "Is doctype needed for HTML 5 documents?". I've answered "no" but have a feeling that I might be wrong. From the w3 it looks like it is ...
1
vote
6answers
210 views

What to use instead of IDs in selectors in CSS

I recently installed a csslint package for my Atom text editor. I keep getting warnings saying "Don't use IDs in selectors." I found this weird since I've always been using IDs in selectors in CSS, ...
3
votes
4answers
320 views

Why is it (or was it) important to separate CSS from HTML? [duplicate]

Intro I recently watched the slides from React: CSS in JS and I really like the idea of having CSS applied using JS (and with JSX, this would mean having all the HTML, JS and CSS in one file, which ...
1
vote
1answer
66 views

torrent support in browser

i was thinking it would be cool to implement native torrent support in a web browser so that the following html would render an image on the page: <img ...
1
vote
3answers
200 views

Conceptually, is the single page web app more efficient than the web app that loads pieces of the page for every page? [closed]

I searched a lot, but nobody seems to have explained this nor given a proper example. I have a page like this: My team says they want to design the code such that the Title section, Menu ...
0
votes
2answers
32 views

Are there established guidelines for code formatting in included files with references to other files?

When developing for the web you will inevitably end up referencing a lot of files that eventually all get included and combined into a finished product. I specifically develop a lot of Wordpress sites ...
0
votes
1answer
94 views

MVC: Inserting a view from a SubController to its Parent controller

I have 2 controllers: 1 top level controller,MainController, and a SubController, which MainController has an instance of and controls. The SubController has a Subview which goes inside the MainView ...
1
vote
1answer
137 views

Is it okay to use CSS3 with HTML4?

Is it alright to use CSS3 with HTML4. It seems like CSS3 would be a HTML5 complaint deal. But I'm not sure if that's the case. If it's not okay, what are the downfalls to using CSS3 with HTML4, ...
11
votes
0answers
189 views

Math model for a webpage layout? [closed]

While web-programmers surely know CSS/HTML rules by heart, and web-browsers have algorithms to render web-pages, what interests me whether there are any mathematical/theoretical models or at least ...
3
votes
1answer
43 views

(HTML) Form structure storage

In the context of a single-purpose website/application (for instance, based on Symfony2), I wish to have a set of forms fillable by users which then will be sent out as a formatted email (with the ...
0
votes
2answers
97 views

How to make a website be formatted correctly on all screen sizes? [closed]

I recently made a pure (didn't use Bootstrap or anything else) HTML 'website' (didn't actually give it a url) on my laptop, but when I opened the website on my desktop, it looked horrible and nothing ...
-1
votes
4answers
118 views

What exactly is the meaning of “node” in Document Object Model (DOM)?

I've searched for the definition of a "node" in a programming language and I am still finding it hard to understand. Could anyone advice me in simple, layman's terms: What is a node?
5
votes
1answer
213 views

Why is the use of JavaScript in HREF attributes discouraged?

Disclaimer: I came to Programmers.SE to ask this question because I understand this is the place to ask this type of question, and not necessarily stackoverflow. If I am wrong, please close the ...
1
vote
0answers
210 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
1answer
42 views

What is the HTML 4 DTD role in HTML5

All, I know there are three types of DTD for HTML 4.01 (strict, transitional, and frameset). And I knew the DTD defines the syntax of markup constructs and the document structure with a list of legal ...
0
votes
1answer
73 views

Understand SGML and HTML

When I read the HTML 4 Specification. The document says : Each markup language defined in SGML is called an SGML application. An SGML application is generally characterized by: An SGML ...
0
votes
1answer
90 views

What's the best semantic html5 tag for an action menu

I want to create an action menu to trigger some actions on a single page application and I wonder what's the most appropriated html5 tag for this? I know the nav tag but it seems more suited for ...
0
votes
0answers
32 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 ...
-1
votes
3answers
225 views

Why don't replace HTML with JSON as base web design technology? [closed]

Since JSON shows a lot of benefits over HTML, why don't just abandon HTML? Qt frameworks with QML shows it is perfectly possible to use JSON to design rich content EDIT: Many of you think about this ...
-4
votes
1answer
77 views

Languages for gaming website [closed]

So I'm a 15 year old trying to teach myself how to code because I'm deeply interested in it. I would like to one day be able to have my own games website, with little games I'd write. I have a little ...
1
vote
1answer
203 views

For HTML report generation, should CSS be put into stylesheet or written into the html file?

I'm writing a report generator for an automation tool. Right now I have a report template html file which is read by the generator and the results are filled in by the tool to be written to another ...
-5
votes
1answer
323 views

Why isn't HTML/CSS/HTML5 considered a programming language? [duplicate]

I was just curious as to why programmers don't consider Web development as programming.. I know C and C++, Python etc. are tones harder then what I do (HTML etc.) but why do programmers laugh at it? ...
0
votes
1answer
187 views

Website with a lot of sound [closed]

I am building a website with a large amount of sounds that should be played upon clicking elements. (It is a language learning website, and many words and phrases will be clickable, to hear ...