Questions tagged [html]
HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.
423 questions
5
votes
2
answers
1k
views
Performance consideration for cascading style sheet implementation
I have the plan for an UI component hierarchy. Each UI component contains zero or more children UI components, and each UI component may set an optional theme.
A theme is responsible for skinning a ...
-1
votes
2
answers
213
views
Could there be a <flex> tag?
<div> tags are display: block per default. <span> tags are display: inline per default. Could there be a tag that is display: flex per default? I don't mean a class, like bootstrap has. I ...
0
votes
2
answers
220
views
How to develop data bound html with strong typing and intellisense?
I'm a huge believer in the value of Intellisense for showing you what syntax is expected and allowed (and also saving typing, though this is a secondary consideration).
When you build a web component (...
-1
votes
1
answer
199
views
Is the BEM methodology in the large project used correctly
I am creating SCSS for the large project, I decided to use BEM methodology. I will have a lot of containers. I have question about BEM and about best practices.
My current code:
.footer {
&...
-1
votes
1
answer
212
views
Why do HTML and JS feel slow on smartphones? What could be changed to make them faster? [closed]
HTML rendering and javascript engines are very optimized, so why do they feel slow on smartphones?
It seems that HTML's low performance justified the creation of mobiles "apps" which are ...
-3
votes
1
answer
81
views
HTML Playground [closed]
I'm creating a service for creating web tools. The tool is a generated web page with some JS engine. The user can interact with the JS engine through the user interface. The user interface can be ...
1
vote
3
answers
223
views
Multi type HTML dropdown conversion to the corresponding C# object type
Note: This is a contrived example I came up with to illustrate what I'm after as simply as possible.
I have an HTML report with a single dropdown box at the top that lets the user select (or filter) ...
0
votes
1
answer
239
views
Using sed/awk to bulk generate static HTML pages off of a template
Hypothetically, consider a social photo platform - each pic gets its own url, this page contains the image, text about the image, buttons for the user to click, related pics, and some user-specific ...
4
votes
3
answers
1k
views
Why does HTML collapse whitespace?
I've been trying to better understand (at least at a high level) why the early versions of HTML were designed the way they were. Most of the decisions make sense; I can deduce (at least at a high ...
1
vote
3
answers
710
views
Is it good practice to wrap a single element in a container?
I am new to UI development and am currently reading how to style a form in a responsive way. By googling I found this tutorial https://www.w3schools.com/howto/howto_css_responsive_form.asp (I know the ...
8
votes
3
answers
19k
views
How do you 'merge' several JS files into one? [closed]
New Web Dev here.
Recently I got into DOM manipulation with JS, everything was sweet with one-page websites, but then I tried with projects with many html files and that's when I got confused.
It's a ...
1
vote
2
answers
503
views
QR Code Scanning with location check
I would like to make an order-system with QR-Codes which is online.
How I imagine it to work:
A customer visits a restaurant. There is a QR-Code on his table which takes him to a public webpage where ...
1
vote
2
answers
1k
views
Is it better practice to create a div in the html or using javascript
I have javascript script that creates the same div everytime the user clicks enter and then set the event listener to the new input in the new div.
example:
//creates the container, text and input for ...
-3
votes
2
answers
137
views
Moderator/Administrator Script for website (HTML) [closed]
G´Day,
So I am making this website out of basic HTML. I wanted to add a Moderator/Administrator script for it and was wondering if there was any way I could Create a script myself easily. (Keep in ...
3
votes
2
answers
223
views
When is it Counterproductive to Separate PHP and HTML
Understanding that it is less load on the server to not have to parse HTML, when does it work the other way, as far as server performance.
The majority of my Web sites are database-driven - often the ...