Questions tagged [html]
HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.
405
questions
-4
votes
0answers
39 views
What advice would you give this company about the user interface for this application? [closed]
A company uses an offline system order for selling products. The company wants to build a new online site. The data trends of current order shows that customers typically buy once or twice a year. The ...
1
vote
2answers
54 views
Identifying states when using state machine to validate a form field
Scenario is simple, a password field with few validation rules.
The states I came up with are
default ( when the form loads or reset button is pressed)
filled ( should this even be a state ?)
valid ( ...
0
votes
0answers
19 views
Filter Gallery Images based on dropdown selection values
I currently making a "visual plan builder" with php-mysql, ajax and jquery
Using multiple layers (z-index) I generate a visual plan with the following dropdown list values:
Base Product - ...
2
votes
0answers
68 views
I'm trying to write something that will fill out an Australia Post Declaration Form [closed]
I've got basic proficiency in PHP, JavaScript, html, and SQL. I also use Postman little a bit. I hope a solution to my problem can be found within those skills, but I'm willing to learn a new language ...
0
votes
1answer
45 views
Convert RTF to HTML when it's saved to the database or when it's rendered?
Users have the ability to enter and save text in a rich text editor which is eventually stored in a database and then rendered on a site.
Is it better to convert the RTF to HTML when it's stored to ...
2
votes
0answers
214 views
Setting width/height of unknown images for lazy loading
I have a site where users upload images & can all be viewed on a single page by other users. I want to lazy load images as the user scrolls instead of loading all initially. This is easy enough, ...
-1
votes
1answer
104 views
What are downsides to opening local html files in the browser?
Let's say you have a scenario where you want to build a simple web stack (html/css/js) prototype to share with someone.
I am a little unclear on whether or not I want/need to use a small web-server to ...
0
votes
1answer
34 views
How would you have a fallback for html insert when the html has changed?
Given a website, our customers will pick a spot on their website and we record an xpath to that location.
Our software is DNS integrated, similar to cloudflare, and we manipulate the origin's html ...
-2
votes
1answer
59 views
How good of an idea is extending HTMLElement
In the new era of web components MDN (and probably the standard) suggests extending the HTMLElement class.
For a long time we've strayed away from doing that, what has changed now for this to become ...
0
votes
0answers
97 views
How can you multithread an html parser [ in C++ and similar languages ]?
Ive done two HTML parsers.
Done with Regular Expressions [that accounted for nesting]. It was quick, but error prone.
Done by evaluating Character by Character through switches. Here was the basic ...
-3
votes
4answers
320 views
Is it possible to prevent tech scammers from editing bank webpages?
In a refund tech scam, tech scammers use Chrome Developer Tools to edit the HTML directly on the victim's bank webpage through a Remote Desktop (Teamviewer, AnyDesk, etc) to fool their victim into ...
1
vote
1answer
55 views
Html development with partial views
Is it a standard practice to develop a HTML project using partial views.
Consider a project where the design team will develop the HTMLs based on the requirement & then the backend team will work ...
-3
votes
3answers
129 views
What are some of the best ways to create single page websites with dynamic content?
I'm expirementing with creating a website as a IT Ticketing system. This website has a top nav and a side nav. I want the content area to change depending on the link clicked. I've managed to get the ...
0
votes
0answers
44 views
Unique Colors for Chart Data
This is likely in the wrong section but I'm curious if there is a good way to select unique and distinct colors for plotting data on charts? My current method is to hard code a set plot limit with ...
4
votes
1answer
160 views
Whatever happened to HTTP SEARCH? [closed]
It seems 5 years ago there was a proposal for a HTTP SEARCH request, but it does not appear to have been adopted and it not widely supported. Are there any factual documents or citations which shed ...
0
votes
2answers
128 views
Should we check if the primary key exists if rendering a collection fetched from database?
I have got an argument with my colleagues about this. IMO It's common practice that you don't need to check if an id exists or not before rendering it.
So here's an example.
This is what my ...
2
votes
1answer
203 views
Hidden Input Fields for POST - Security
I have seen some posts on the subject of hidden input fields for use with postbut none were able to answer my question.
I have a delete button tied to a user in a table. The delete button uses a ...
0
votes
0answers
81 views
Angular 8: Mixing Business and Presentation logic
I was reading about the history of Microsoft and Webforms. How people strayed away from Webforms because it mixes business logic with display/presentation logic. So when reading Angular 8, and seeing ...
0
votes
1answer
86 views
Turning complex XML (or content tree) into HTML - How to do it (in Java)?
I have a deep object content tree that I transform into a XML using JAXB and a small self written API on top.
But now I want to create a static HTML site that has basically the same content (and ...
0
votes
0answers
44 views
Which components of an HTML Element, can I assume will be static over the course of its lifetime?
This is a question for people who are familiar with how HTML typically is built and behaves on webpages.
Backstory and requirements
I am building an HTML tracker with a C++/Qt backend. I am trying ...
0
votes
0answers
37 views
How to store message content in a webservice
I am building a service responsible for sending email/sms communications. The service receives a request that contains information necessary to build an email/sms template and the recipient ...
1
vote
2answers
542 views
Is JavaScript added and executed in parsing or in rendering?
As far as I know, each webpage is created in a two stage process, initiated by a webserver request and ended in a webserver response:
Parsing: markup (Say HTML) is executed as is, or created by ...
-2
votes
1answer
244 views
Supervisor wants unconventional web site, how to resolve this
I started a new job with a greenfield site in Angular to create a website from an old desktop app. I gave a presentation guided by my Supervisor who wants game style top icon menus to cut down on ...
-1
votes
1answer
211 views
Maintaining a static website using an HTML preprocessor [closed]
I have a static website with lots of similar pages. The site is very simple, basically just some information for me and a few other people. I'd basically like to spend as little time as possible ...
2
votes
1answer
79 views
handle file downloads from the server
I am wondering if the following would be a good technique to allow user to download files from the server in the below scenario:
Info about the scenario:
User logs into a system (HTML,JQuery and CSS,...
0
votes
2answers
81 views
Website Multi Languuage [closed]
I have one website and the website are now in HTML, that actually is structured:
domain.com = English
domain.com/es = Spanish
domain.com/de = Germany
I copied the HTML of English page to Spanish ...
1
vote
2answers
592 views
Is it bad practice to leave hidden elements in the dom?
I'm looking for perspectives from other web/ui developers.
I'm a UI developer and my company requires that I use components built by another team within the company. That team has developed some ...
1
vote
1answer
456 views
Rendering custom markdown format: client side or server side?
I am working on a project on both iOS/Android/macOS/Linux (Windows is optional, and surely no website version). There are a lot of related webpage-like data and the team decided to store the data in a ...
0
votes
2answers
65 views
I generated XHTML with XSLT, what are my options with HTML 5?
I have some older xsl transformations that I will modify soon. They generated XHTML code from a home-grown XML format. Since I am touching these XSL files anyway, I am wondering how I will deal with ...
11
votes
3answers
3k views
How can I prevent a user from editing my code in their browser?
Description
I'm designing a Node.JS application (more like a full website). The app will send five JavaScript files and will have <script> tags linking them together.
Question
How can I prevent ...
1
vote
1answer
35 views
How to collaberate UI Team & Development Team for smooth development process over time to adapt changes in design?
The UI team deliver the HTML files to the development team.
Developers code PHP on html files to make the website.
But later we face a lot of changes in design. The designing team makes the changes in ...
1
vote
1answer
614 views
How to white label my website in php
I have a website that follows the following structure:
www.example.com/city1
www.example.com/city2
...
Programmatically we change the logo which is hard-coded in a specific config file for city 1, ...
2
votes
1answer
1k views
How can I turn my CRUD database application into a REST application?
I may have gotten myself confused, when reading CRUD vs REST and how they are similar, so I wanted to explicitly ask: can I turn my CRUD application into a REST application, when I have a specific ...
3
votes
4answers
1k views
How to do BDD for CRUD?
I want to understand how Behavior-Driven Development (BDD) can be applied to building CRUD applications.
I have read a lot on the subject but I just don't get how I'm supposed to apply it. I learn ...
0
votes
2answers
218 views
Is there a rule of thumb when it comes to the “name” attribute?
Since there is things like BEM in naming conventions for HTML class attributes, does the name attribute have anything of that sort?
0
votes
1answer
89 views
Is my approach to dynamically populating web content ok?
I'm porting my JavaFX application to a web based version, which I'm new to. In my web app the user can search the server database for records.
At present I've chosen to present the records in a ...
0
votes
4answers
352 views
Prefixing a number with + on html inputs
When asking for positive number inputs on html, is it valid to allow + on the textbox? Like +42? Surely the + sign gets removed during server-side processing. But will allowing + be fine on the html ...
1
vote
3answers
104 views
If either html+css or an image can achieve my desired decoration, which one should I prefer to use?
For example, to create flow indicator like:
Step 1 > Step 2 > Step 3
I can either:
1.Use html+css
.concave{
border-left:1em solid transparent;
border-top:1em solid orange;
border-bottom:...
2
votes
1answer
90 views
Are there standards for handling card swipers in applications?
I'm in the middle of creating a web application for a client, and he wants me to integrate magnetic card swipers so his office staff can quickly swipe a card, and load up details for specific patients ...
1
vote
1answer
78 views
Showing confidential to a customer info without having him to create an account: GET or POST approach?
There's a website where a person should pay to get some service/product. After a person has made a reservation/product by paid for it, I want to allow him to track the progress without having to or ...
4
votes
5answers
2k views
Why is the ampersand (&) a HTML Entity?
I understand the rationale behind why most of the HTML character Entities were created, but I don't understand the purpose behind the ampersand HTML entity. & contains more bits than a & ...
-3
votes
1answer
98 views
Is there a best practice for naming class selectors for identification alone
Is there a best practice for naming class selectors for identification alone?
For example, for defining a single amount field with action button, we end up creating several div containers and div ...
1
vote
1answer
532 views
Angular template variable reference [closed]
Here is a weird problem in Angular:
<input #pin1 type="password">
<p>You entered: {{pin1.value}}</p>
If you type something in <input>, the <p>'s content will not change ...
0
votes
1answer
2k views
Better alternative to having a html form with select input on every row in table
I have a web application (laravel) with a page which presents a large number of rows (financial transactions) in a HTML table. On each row I want to have a drop-down (select input) allowing the user ...
1
vote
2answers
1k views
Do I need to put a license in my website's HTML and/or CSS?
I am making a website for a competition my school is taking part in, however I am not on the team and am not receiving any compensation (save for better references :P). The only condition I have set ...
3
votes
2answers
12k views
PHP : Better way to print html in if-else conditions
Please refer the following two forms of the same code
First:
<?php if(some_condition){
?>
<li><a target="_blank" href="example.com/channel1/" class="xyz">If content</a>&...
-1
votes
2answers
806 views
Consuming Web API in website with role based views
I understand Web API. I understand websites, how they call a web API and all the good stuff. My question is, how do you control the user view in the website consuming the API, based on the API ...
0
votes
3answers
373 views
Development Of Scriptable Webpage Served As XML And Parsed As HTML
In short, this question is about the cross-browser-compatibility-ness of a way to serve a HTML page as XML. I am interested in serving a web page as XML to be interpreted as HTML for increased CSS ...
1
vote
1answer
874 views
HTML and iframe organization for dashboards [closed]
I need to build a small website for my ops team that will have a series of iframes pointing to a couple of Kibana graphics. The website will have, lets say, 4 links, each pointing to a a specific ...
0
votes
1answer
205 views
Best practices for creating multiple HTML buttons that are used for a similar purpose
I realize this may be subjective, but I don't see any clear-cut place for asking questions on good software design principals. I'm sure there are some software patterns and anti-patterns I should be ...