Questions tagged [html]
423 questions
Score of 5
2 answers
2053 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 ...
- reputation score 197
Score of -1
2 answers
232 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 ...
- reputation score 13
Score of 0
2 answers
242 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 (...
- reputation score 597
Score of -1
1 answer
231 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 { &...
Matthew
Score of -3
1 answer
90 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 ...
- reputation score 105
Score of 0
1 answer
300 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 ...
- reputation score 175
Score of 4
3 answers
1516 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 ...
- reputation score 157
Score of 1
3 answers
820 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 ...
- reputation score 133
Score of 8
3 answers
18992 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 ...
- reputation score 99
Score of 1
2 answers
559 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 ...
- reputation score 19
Score of 1
2 answers
1144 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 ...
- reputation score 525
Score of -3
2 answers
160 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 ...
- reputation score 97
Score of 3
2 answers
238 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 ...
- reputation score 133