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,189,302
questions
-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
45
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
33
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
29
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
23
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
51
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&...