Questions tagged [html]
HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser. Questions regarding HTML should include a minimal reproducible example and some idea of what you're trying to achieve. This tag is rarely used alone and is often paired with [CSS] and [JavaScript].
1,136,827
questions
0votes
0answers
6views
ng-select only showing one result from array
I'm displaying a list of items from an array using ng-option, however, only the first item from the array is displaying. HTML - <ng-select [multiple]="true"> <ng-option *ngFor=&...
0votes
0answers
3views
i am trying to convert jQuery script to Vanilla JavaScript for Bookmark posts on blogger?
hope you all are well. im trying to make bookmark posts feature on google blogspot. i have found this jquery code and is working fine but i want to use pure javascript for this. and that is why im ...
-1votes
0answers
13views
"Spring Boot project why not data perform proper CURD operation in add, update and delete page/button ?"
"my question why not data perform proper CURD operation in add, update and delete page/button?" "why to show in browser index or addnew ,update text, why not show html pages?" &...
0votes
2answers
29views
Text and icon on the same line with Tailwind CSS?
I am trying to get the text on the left side and the icon on the right side, but right now the icon is above the text, see the first image. I want the icon to be in the top right corner to the right ...
0votes
0answers
13views
Add current element to vector and remove it Javascript
I have this code where I am imitating a website for surveys. I have a type of question where you can add many options. I have to save those options in a vector and also save whether this option is ...
0votes
1answer
21views
How to change size of two divs relatively
I have two divs next to each other as shown in the image. I want to show the other div/Graph in full screen that's why I used collapse feature. Now when I collapse one div the other div's size should ...
0votes
1answer
22views
Is it a bad practice to add HostListener to target the clicks on the document, and then check if the class matches?
Is this code considered as a bad practice: @HostListener('document:click', ['$event']) clickout(event: any) { if (event.target.classList.contains("my-class")) {
0votes
0answers
21views
HTML and Javascript connection [duplicate]
I'm trying to draw a rectangle on a yellow background using javascript but there seems to be something wrong in the connection between two files as there is a blank screen on the browser window. henry....
0votes
0answers
12views
Kable, Flextable, Huxtable to HTML: force the display of cell contents on a single line
I want the contents of my cells to be displayed in a single line. I'm using Rmarkdown to HTML. But no matter which package I use (Kable, Flextable, Huxtable), the column width specification is ignored ...
0votes
0answers
23views
Reasons as to why ScrollWidth would return wrong values
I created a simple carousel using flex. The carousel works fine when I load it as a simple .html file, but once it gets rendered/loaded (res.SendFile or res.render) through express.js in NODE.JS ...
0votes
1answer
6views
Widget width variabel price (Shopify)
I’m about to integrate a Santander widget on my Shopify site, but I need to replace data-amount with price variable: https://www.dropbox.com/s/cf025mnb5lr8j9m/satander_widget.jpg?dl=0 I have tried to ...
0votes
1answer
11views
Modal with nested animated button component doesnt work properly
i have a problem with making a modal component in my react project. A created a custom button with mouseEnter animamation wich triggers hover effect changing the button. But when i using this button ...
0votes
2answers
13views
HTML: Select Option input select box Font size not working
I'm trying to style an input select box, changing all of the Font size. However, when I load the webpage the select box still has the default font size. Any help please?
.shopengine-category-...
0votes
1answer
28views
Hide div , when default option is chosen
I'm currently trying to do a selection with three options: -The first, is the default one. -the 2nd option displays inputs, -and the 3rd other inputs My problem is: that when I choose the second or ...
0votes
1answer
16views
Making my div elements not overflowing in angular
I have a issue about my div elements. When i add a lot cards then my div elements are overflowing there is a picture: and here is my app.component.html <app-nav></app-nav> <div class=&...