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,708
questions
0
votes
1
answer
5
views
Export php page to wordpress
I have a html/php page connected to bd on my xampp, is there any way to export that page to my wordpress on xampp?
I've been looking around about how to do it but all the solutions goes to hosting, i ...
-2
votes
0
answers
9
views
Why i am facing same error although path is right in deploying react app on github
error snapshot
i have checked everything all files and file path everything is right. It keeps showing same error regarding file path although its all correct and in order.
GET https://megha-yadavv....
0
votes
0
answers
12
views
PhP List Directories and SubDirectories - Assign Variable to each
Good evening all,
I'm really struggling to find a way to list the directories of a given folder and also the subdirectories without adding in the files, as well as assigning them to a variable.
I've ...
0
votes
3
answers
38
views
Smooth scrolling to the div when clicking on anchor link
I am creating a simple website with two sections on the page. On left side I will have links and on right side the content in scrollable way. On click of link the content on right will scroll to the ...
0
votes
1
answer
20
views
Image not loading in HTML page when trying to change using GetElementByID method
I am attempting to write an simple function in an HTML page which displays the image and there are few buttons which change the image I have used the "document.getElementById('myImage').src= &...
-4
votes
1
answer
22
views
How do you increment a number made with an onclick (in html)?
function incrementValue() {
var value = parseInt(document.link('number').value, 10);
value = isNaN(value) ? 0 : value;
value++;
document.link('number').value = value;
}
<div class="link"&...
-2
votes
1
answer
18
views
How to create a layout for a quote with image and caption?
I want to have this layout:
My try:
.container{
padding: 10 px;
gap: 10 px;
flex-direction: row;
}
figcaption{
font-size: smaller;
text-align: end;
}
<blockquote>Lorem ipsum ...
0
votes
1
answer
16
views
I have an HTML iframe issue in which I am trying to fix with CSS
i have tried a couple of fixes and even turned to chatGPT-4o (right after i looke on the internet and docs)
I want to get this to be my error page which i redirect from a page i am fixing to ensure ...
0
votes
0
answers
22
views
how to save the values of different input fields into different variables and update them in Javascript?
I have the following function, in order to update values from four different input fields:
UPDATED
My Package Class is defined as followed:
class Package{
constructor(packageID, type, ...
0
votes
0
answers
22
views
how can I make to have the audio from the video playing to be the only one active
here is the code of the video slider. i tried the script shown below and it worked to bring audio on and off when clicking on the video but when i slide to the next video and if i haven't clicked to ...
0
votes
0
answers
22
views
When using stylus, pointermove event does not update target upon entering child
In the snippet below, the circle disappears if either (1) I click inside the circle and move the mouse or (2) I click outside the circle and move the cursor into the circle while holding down the ...
-2
votes
1
answer
25
views
Can I use two different logo files for my dynamic navbar based on the screen size? [closed]
I am developing a responsive web page, using HTML and CSS. The primary logo I have is too wide for a mobile screen. So I want to use a secondary logo, which is significantly smaller. Let's say, the ...
1
vote
1
answer
34
views
CSS sticky cards using grid layout
I want to have a layout of sticky cards using grid layout. This is what I managed to achieve:
<div class="cards">
<div class="card">1</div>
<div class=...
-2
votes
0
answers
19
views
Handle multiple form to Json format
i want to make my form to json format so i can send it with ajax, so it has 1 parent, with multi addon, and the addons has multiple options
<form action="#" method="post" id=&...
-1
votes
0
answers
14
views
Express static css files is not load in handlebars
App.js -> main js express file so I make like this
const express = require('express');
const app= express();
app.use(express.static('public'))
Main Layou -> main Layout handlebar file , i add a ...