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.
429
questions
0
votes
1
answer
54
views
remove white spaces till /n in js, and put it inside a array
I'm looking for a way of put all three lines of my html inside an array, but those three lines will be breaked in 3 index. My array has to be a 3 length array, with a line in each index.
I see that i ...
0
votes
0
answers
36
views
Problem with CSS :valid pseudo-class and required input
I am learning front-end and PHP. I was able to come up with this little form behaving almost perfectly the way I want it.
The problem is, some inputs are not required, that being the case, they are ...
0
votes
2
answers
29
views
How to pin control elements in the chip list with flexWrap?
In base I have a list of filter chips. This chips are li elements and placed in the ul parent element:
<Stack
className={`${className} filter-list`}
width='100%'
component='ul'
padding={0}
...
-2
votes
0
answers
19
views
Selection an option from a div.cl-search-dropdown menu
I'm writing a script that uses Selenium. I want to enter a zipcode into a search bar, and then select the first option that pops up from the dropdown menu, but I'm unable to figure out how, as it ...
-6
votes
0
answers
26
views
Scorecard Project [closed]
I am teaching myself to code and having issues with a project I'm trying out. Essentially I'm trying to make a custom scorecard through javascript and am unsure of how to add two user inputted values ...
-1
votes
1
answer
41
views
How to regex and replace innerText and then restore the HTML elements
I want to regex and replace only text content(innerText) of an html, and in the end keep all the HTML elements (or restore them as they were).
The regex must not check the HTML elements, but only the ...
0
votes
1
answer
25
views
why the chevron doesn't maintain its rotation?
Well I wanted to create mini project to test my CSS skills so I have decided to create a drop down menu.
so I started by writing HTML codes:
HTML
<!DOCTYPE html>
<html lang="en">
...
0
votes
0
answers
15
views
Navbar HTML not working in sub-directories
I have this folder structure:
A
|_B
| |_C
| | |_D
I have my navbar.html, style.css, and main.js (for the navbar) in folder A.
This is the code block I use to add the navbar in my index.html, and it ...
-2
votes
0
answers
31
views
Why the python and HTML is not connecting? [closed]
I tried to connect HTML and python file, but i got error 405
HTML:
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="...
0
votes
1
answer
32
views
aria-labelledby pseudo elements
I have a quite simple question, I'm using some buttons that does not contain any text, only an svg, but when you hover on it, a label appear (:after) which is bad for a11y. I'd like to make this a bit ...
-1
votes
0
answers
32
views
I wanna display the drop-drop on hovering on "About Me" but it's not working [duplicate]
I expected for the drop-down to show up below "About" I used :hover but it's not working on it. It's not changing into display: block;
.oil {
position: relative;
display: inline-...
-2
votes
0
answers
40
views
Jquery $("body") not selecting whole page [closed]
I have a page that I need to show a loading gif. The problem is when I select the whole page with $("body") to disable editing fields, the elements that are only reachable by scrolling down, ...
-2
votes
0
answers
24
views
My Mobile nav bar is not clickable with my weebly website
I know nothing when it comes to coding. However, I have successfully built a website using Weebly. This being said, when I added a store to my website, it did something to the coding itself, and now ...
1
vote
2
answers
49
views
CSS only curved or warped background box [closed]
I'm trying to achieve quite a simple effect but struggling to get something that looks good.
It needs to be accessible HTML so a CSS only solution is desired. Any background color and any page color.
...
0
votes
3
answers
51
views
Html <div> leaves unexpected margins [duplicate]
I am new to HTML and CSS. I was experimenting with displaying <div> -s side by side. I noticed that simply adding a div inside the body will display with unexpected margins.
I tried messing ...