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,188,798
questions
0
votes
0
answers
8
views
Woocommerce price tag has html and css code showing | Please help me remove it
Here is the link to the shop where you can see the problem.
https://maveltint.com/magazin/
The plugin causing the problem is WCK Kalkulator but the developer cannot be contacted anymore.
Attaching an ...
1
vote
1
answer
10
views
Best Practices for Nested Optional Checks in Angular Template with Signals
I have a setup in my Angular project where I need to conditionally render a component based on nested properties of an object. Here's a simplified version of the scenario:
projectSignal is a Signal<...
0
votes
0
answers
9
views
Save a file from selector to CPanel storage for VueJS
I am trying to save a file from html file input to my cloudPanel storage so i can retrieve it later if needed via html . I have tried searching for answers but they don't work, as in, the console ...
-1
votes
0
answers
20
views
how to make the moon appear in the header too? [closed]
my header is cutting off my background image how to fix it?
*{
margin:0;
padding: 0;
list-style: none;
text-decoration: none;
font-family: 'Times New Roman', Times, serif;
box-...
0
votes
0
answers
24
views
How to implement zooming a canvas centered on the mouse
Thanks to the Zoom/scale at mouse position question, I implement my zoom/scale canvas. However when handling zooming in and out, this code was used:
offset.x = e.offsetX - (e.offsetX - offset.x) * ...
-1
votes
0
answers
16
views
Bootstrap 5 multiple card slider affiche une seule card au lieu de 4 [duplicate]
I am working on an angular 17 web app and using bootstrap 5 to create multiple cards in a carousel. Unfortunately it's just showing 1 card instead of 4.
The result i am expecting will look like this : ...
-1
votes
1
answer
20
views
How to output PDF string to a smaller portion of the page (or iframe)?
I'm using Spatie Browsershot to create PDF files. Sometimes I don't need to actually save the PDF but just display it in the browser.
I can use the following method to display the PDF in the entire ...
-3
votes
1
answer
17
views
Downloading eBook from Webviewer [closed]
I want to download the book from the folowing link of web viewer. next page of book is available after clicking the flip arrow. Can I download the whole book in Pdf or any other format?
https://www....
-3
votes
0
answers
19
views
Save dynamically loading page as a whole in html? [closed]
I have the following question:
Is there a way (function in javascript, extra add on or similar) to save a dynamically loading page?
Specifically, I mean e.g. with Telegram-Web it is the case that ...
0
votes
2
answers
30
views
How to add a template using {% include %} tag, by comparing which user is logged in, on django?
My asset_list html is like this
<div class="right">
<div class="search-container">
<input type="text" id="searchInput" ...
0
votes
0
answers
11
views
Difficulty adding page numbers to printed table using Paged.js without content overflow
I have a table with numerous elements in its , and I'm attempting to add page numbers to each printed page using Paged.js. However, I'm encountering issues where the table content overflows the page ...
0
votes
1
answer
25
views
How do I change the "Select Language" text in drop-down list of Google translate element to the desired text I want
I have written necessary snippets for Google translate element on my website and I intend to change the "Select Language" text on the drop-down list to "Language". i.e, a desired ...
1
vote
0
answers
15
views
Graph production with search bar
I have a data table with different vegetation anomaly surfaces (surface) (remote sensing) which are classified according to different region names (Nom) and anomaly classes (class).
I would like my ...
0
votes
0
answers
28
views
block printing pdf in css
I'm trying to block webpage printing by adding following css to webpage head section:
<head>
<style type="text/css">@media print { @page { size:auto; margin:.5rem 0; ...
-2
votes
0
answers
24
views
nothing is showing on my webpage when i run my flask program
Im a new coder and i dont know why even though there are no errors, nothing is appearing on my web browser! I am currently trying to create a program which can iterate through different pdf files and ...
0
votes
1
answer
40
views
How can I measure the size of a webpage in different devices?
I'm new with html and css, I'm wondering how can I measure the dimension of a webpage by pixels, is there any specific way like special code or app that I can use?
I tried searching but I somehow can'...
1
vote
1
answer
29
views
Why does a div with display: block (default) not expand to vertically fit an image without overflow but changing it to display: inline-block does? [duplicate]
I have a div with a background color via background-image:linear-gradient, and with the div's default display as block it doesn't expand vertically to fit the image, the image overflows over the ...
-3
votes
0
answers
18
views
Can users customize their profiles and preferences on Stack Overflow, and if so, how extensive are these customization options? [closed]
understand the degree to which users have control over personalizing their experience on Stack Overflow. It aims to explore the range of options available for users to adjust their profile information,...
0
votes
0
answers
22
views
How can I troubleshoot Django POST request issues despite correct form handling?
I'm having an issue in Django where when I click save on a form, it sends a GET request instead of a POST. I'm not sure why this is happening.
Hola, estoy con un problema en django, que cuando apretó ...
0
votes
1
answer
30
views
Unable to type texts to chatbot user input
Description
I am trying to add a chatbot for the backtesting platform built with Flask and there is a button on the right side that toggles the sidebar. If the user clicks the button, it shows the ...
0
votes
0
answers
13
views
"The buffer passed to decodeAudioData contains an unknown content type." Error React
Started working on a project last night, woke up to work on it today, and I'm randomly getting the error: "The buffer passed to decodeAudioData contains an unknown content type.". Nothing ...
0
votes
0
answers
22
views
Implementing Background Colors in Bootstrap vertical tabs and forms
In working on a project recently, I have noticed that I am limited to backgrounds solely outlined in bootstrap files and sites. I want it to match the existing color of the background according to my ...
-1
votes
4
answers
37
views
Why isn't the following text being collapsed into a ellipsis?
This is the code:
<div class="grid w-full gap-4 grid-cols-8">
<div class="flex w-full flex-col gap-1 justify-center items-center max-w-small cursor-not-allowed"><...
0
votes
1
answer
41
views
how to show select option list on hover?
<div className="rating-option">
<select
id="rating"
className="rating"
value={...
1
vote
1
answer
15
views
Why does backdrop-filter: blur break whenever unrelated elements are animated
I'm building a website, and use the backdrop-filter: blur(12px) CSS effect on my navbar. Whenever I created a CSS animation to animate the text on my page, the blur filter disappeared. This affected ...
-1
votes
0
answers
39
views
How can I fix this background image [closed]
I need help, I got this website and I need to put some images on the background, but the image overflows and it creates a white space, I have been researching but I don't know what can I apply
This is ...
0
votes
0
answers
42
views
The Enter key works every time I call addEventListener ("click")
I'm trying to make a calculator, and in the middle of the coding, I see that when I press the enter key, he calls the last addEventListener ("click") I used, but I don't set any work for the ...
-6
votes
0
answers
31
views
Gain experience or getting a job [closed]
Hi everyone I learned html css and JavaScript now when I apply I don’t receive response I think it’s because of experience what should I do to get experience?
How to get a job asa refresher ?
I ...
0
votes
0
answers
13
views
navigator.clipboard.writeText(copyText.value) not work in mobile
I wrote a code to get param from php get method and copy it to clipboard in laptop and pc work fine, but I try many phones and it doesn't work, notice that if I use a btn to click on it's work but in ...
0
votes
0
answers
40
views
Is it ok to adjust website content according to screen size? [closed]
I designed a web site to work perfectly on a 1280*720 screen.
Then in CSS i added this part to monitor changes in screen size:
:root{
--sr : calc(((1vw / 12.8) + (1vh / 7.2))/2);
--fs-...
0
votes
1
answer
28
views
How To get form field values from parent of cloned form button?
So I have the following form. The form is cloneable, so there may be several on the page. When the "Save" button is clicked, I can get the form, and the value of the form ID attribute. But ...
0
votes
2
answers
28
views
Problem with size parent element that has image less than 100% inside
This is my default look with all images set to 100% width:
enter image description here
This images must have different height and width because of have to keep ratio. Because of that I can not use ...
1
vote
0
answers
29
views
How would I create these cuts/shapes on a rectangle?
How would you create these shapes on a rectangle ?The larger rectangle will have a video placed on it or image so it cant be many shapes placed together to form somewhat of a similar thing.
(the red ...
0
votes
0
answers
14
views
File drag drop HTML/Typescript stops my SPA development server (exit code -1)
I have an Microsoft Visual Studio Angular/Typescript project with an ASP.NET core backend that the typescript can load data from with http Gets. The backend starts up correctly:
info: IqTest....
-2
votes
2
answers
24
views
Why is my editor reporting that I have one extra table row element?
The assignment errors are saying that I need 5 table row elements in my table but supposedly I have 6. I've went through on zyBooks and Sublime text, I'm only seeing 5. Can anyone else see what's ...
-2
votes
2
answers
43
views
How to fit an image in a div, with a specific aspect ratio, keeping the same height/width as "natural" [closed]
Sorry, the title must be terrible to understand, but I don't know how to really explain it.
How can I fit my image "carouselMap" in the div "carouselItem", with an aspect ratio of ...
0
votes
0
answers
17
views
Smooth scroll, snappy scroll and anchor navigation at the same time
I was trying to achieve smooth and snappy scrolling while having anchor navigation at an HTML component. Only one "tab" should be visible at a time. The user would have to click in the tab ...
0
votes
1
answer
21
views
same html popover on different elements positioned in different places
I have a dropdown that I wish to show/hide using html popover API under many different elements. The problem is that popover uses id to detect the target, obviously I can't use one id on multiple ...
3
votes
3
answers
50
views
How to break a word and keep it on the same line with CSS?
Let's say I have the following paragraph tag:
<p>10 andSomeQuiteLongWord</p>
If I use word-break: break-word or overflow-wrap: anywhere, the word breaks as expected but also gets to a new ...
0
votes
0
answers
26
views
html behavior inside R-shiny
I have a Rmd file with some math expression which I kint it inside R and get a html file:
---
title: "Random Markdown with Math"
author: "Example Author"
date: "2024-07-15&...
0
votes
1
answer
30
views
Load Data from Database to the HTML Table in ASP.Net Core MVC
I am working on an ASP.NET Core MVC C# project and need assistance with loading data from a database into an HTML table dynamically. Suppose that I have a controller and razor cshtml file. The below ...
0
votes
0
answers
21
views
How to nest multiple isset() functions based on multiple forms without losing any of the form data or refreshing the browser?
I am trying to solve a php problem to find the mean of n random numbers based on the limit(n) given by user on an HTML form.
My approach was to create a Html form which asks the user to Enter the ...
-1
votes
0
answers
31
views
How to connect an HTML GUI to a C# program
I am working on a project where I need to connect an HTML-based GUI to a C# program. The goal is to use the GUI to facilitate the exporting of records digitized by a system called ClickScan. I have ...
0
votes
0
answers
8
views
Use common directory for JS modules with apps in different directorys
Using vscode Live Server, I'm loading an HTML file that lives in App1 (see below). The HTML has a tag to include my JS app and another to include another JS library needed by the app. The library is ...
0
votes
0
answers
24
views
CSS selector using :first-of-type not working [duplicate]
I have this very simple example that should highlight the text red but it doesn't work. However the same exact thing with :last-of-type correctly highlights the last row red. I am not sure why the ...
0
votes
0
answers
31
views
Bootstrap 5 multiple carousel cards shows only one card
I am working on an angular 17 web app and using bootstrap 5 to create multiple cards in a carousel. Unfortunately it's just showing 1 card instead of 4.
The result i am expecting will look like this : ...
-1
votes
1
answer
31
views
Java-based Web Framework for UI that integrate with Spring Boot [closed]
I'm looking for a modern framework that allow me to build a simple web-based user interface composed out of different HTML 5 elements like input boxes, slider, check boxes, etc. In addition, I want to ...
-2
votes
0
answers
10
views
Which are the programming languages that are support webrtc between for example a java user and (in all cases) a browser html5 user?
I was tried aiortc in python for webrtc between a python server user and multiple html5 web users. It works but not exactly well for many clients.
So i am searching about other programming languages ...
0
votes
0
answers
9
views
Ulkit - adding top nav sub-menu and off canvas accordian type sub-menu
I am working on a website using a html theme that uses Ulkit for menus / submenus.
The source / page example is here: https://html-theme-soutien.vercel.app/category.html
I can see in the .css that ...
0
votes
0
answers
8
views
Patternfly Select Within pf-c-form
I'm trying to change the blue hover color in the attached picture to #10175f:
the code for the select is:
<select id="otp" name="otp" class="pf-c-form-control" ...