Questions tagged [html]

HTML (Hypertext Markup Language) is the standard markup language used for structuring web pages and formatting content. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language. HTML works in conjunction primarily with CSS and JavaScript, adding style and behavior to the pages. The most recent revision to the HTML specification is HTML5.2.

Filter by
Sorted by
Tagged with
1
vote
2answers
21 views

unknown reason for html body overflowing

so I'm building a site for a class and i have a unexpected probalem with the css. at smaller sizes the body seems to expand beyond the viewport. Having set the body width to be 100vw and 100% with ...
0
votes
0answers
11 views

Bootstrap 4 Dashboard Example Responsive

Today I was looking for a dashboard theme, and I found the dashboard example on bootstrap site (https://getbootstrap.com/docs/4.4/examples/dashboard/). I liked it so much, but there's 2 things that I ...
0
votes
0answers
12 views

Trying to Dynamically change background video as user scrolls

I am trying to create a single page website with a video background that changes video URL or source as you scroll farther and farther down. I was messing around with window.onScroll but it doesn't ...
0
votes
0answers
26 views

js not reading my file to alert, undefined when printing to console

Why won't this read my file!? What am I missing NOTE - I also get warning : XMLHttpRequest on the main thread is deprecated because - not sure what else to use <script> function ...
0
votes
1answer
10 views

“Background-size: ” is not affecting background image HTML CSS Flask

It seems no matter what I set "background-size: " to in my css file, the background image size still stays chopped and too small. I've tried background-size: cover; as well as background-size: 100% ...
0
votes
1answer
14 views

When I run the program I get image undefined and I have made many edits but I keep getting the same error

Whenever I run the HTA file I receive a script error with the error being 'acceptImage' is undefined. What am I doing wrong? A picture of the code
0
votes
2answers
21 views

how do i make a event listener for a button that is in a forwach loop

i have a for each loop where it loops through a table and the table has a id field which gets assigned to the button's id, i need to see which button gets clicked(i need to get the value of the id). ...
0
votes
1answer
17 views

Highlight text with a short right margin in CSS

I want to put highlights around text, with a lefthand and righthand margin. So the result would be: It would not be: I so far have this css code, resulting in the bad example: ol.number { list-...
1
vote
2answers
28 views

CSS selector for elements before and after a fixed piece of text (divider)

I have a piece of generated HTML I am parsing. Roughly speaking, the part I am interested in for this problem looks like this: <div class="rowset"> <div class="head">...</div>...
-1
votes
0answers
11 views

get number of selected row in a bootstrap table [closed]

i need to get the number of row when i click on the button and send this information in a modal fade i attached this image the head of the table is : <table class="table table-hover table-sm">...
0
votes
1answer
31 views

This function in Javascript using Firebase doesn't write in console, What am I doing bad?

I have this javascript function in "buscador.js" that should output a list of objects in the console but when i click on the button of the <form>, it doesn't work. function buscar(){ var ...
2
votes
4answers
18 views

XPath for all the //a[@href] tags in a div with the first /li tag text “Something”

I have to find all the URLs from a page in categories. The categories are the first <li> tag in a <div> tag. The page looks like below. <div class="c1"> <ui> ...
0
votes
0answers
10 views

PDF with CSS using jsPDF in Aungular 8

I am using the jsPDF to create a pdf file and decorate it with CSS. However, I keep getting the error ERROR Error: You need either https://github.com/niklasvh/html2canvas or https://github.com/...
0
votes
1answer
22 views

How to move list items using keydown events

I want to move list items in an editable div in html using keydown events for the up and down keyboard arrows. The up arrow should move that list item up and the down arrow should be that list item ...
2
votes
0answers
19 views

PHP AJAX HTML: changing unique table data in foreach loop

I'm new to PHP and Ajax. I am trying to create a table of object data where I can select the displayed data based on a <select><option>... form. I have a PHTML template which looks like ...
0
votes
2answers
36 views

JavaScript finds HTML text that is not present

Simple question - Why does my log "find" test in my HTML page? It does not exist. Any ideas? Thanks all! <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-...
0
votes
1answer
46 views

Unable to toggle between two CSS styles

I'm trying to implement a dropbox menu for a project I'm working on. I've tried to follow this method down below, but I am running into issues. https://www.w3schools.com/howto/tryit.asp?filename=...
-1
votes
0answers
9 views

I want to change location address written on my website but i don't know how to change and where I get CONTACT US page in cpanel

2 Elizabeth St. London, UK I want to change it. I have Cpanel and I am trying to find this page but I can't can anybody please help me to find this page and edit my location
0
votes
2answers
22 views

ReactJS - Best Practice For Saving HTML Snippets/Templates [duplicate]

Hopefully someone can point me in the right direction to the cleanest/most accepted way of storing HTML markup in React apps. Imagine my scenario: I have a country dropdown menu (<select>). ...
-1
votes
0answers
9 views

dos imágenes distintas con la misma ruta pero cambian por el signo de interrogacion (?) html [closed]

me surgió una duda de como es que youtube hace esto <img src="https://i.ytimg.com/vi/lWQ69WX7-hA/hqdefault.jpg"> <img src="https://i.ytimg.com/vi/lWQ69WX7-hA/hqdefault.jpg?sqp=-...
0
votes
1answer
30 views

Implement copy button functionality

I have this Bootstrap code which I would like to use to generate address and implement copy button functionality: <div class="modal fade" id="bitcoinModal" role="dialog"> &...
0
votes
0answers
11 views

How to change a script function into a custom tag

I know I can use a function inside a script to hide and show elements in html/jsp like this: function hide() { var formular = document.getElementById('element'); formular.style.display = "...
-1
votes
1answer
23 views

How to Adjust Picture Size

I am excited to complete this project, i'm getting close but need help. I want the width on the download now button equal the width of the book? http://www.orcaaccounting.com/freeStuff.html | Then ...
1
vote
0answers
23 views

Is there a way to offset css classes via calculation?

I am creating a page that is setup similar to a grid. Think a page of full of empty boxes of the exact same offset information. If I know the offset width and length distance per box in px is there a ...
0
votes
0answers
9 views

Apply CSS for page division to data-role=“page” in jquerymobile

I want to apply CSS for page division to div. I am using jquery-mobile, data-role ='page', but I am not able to do it. I am attaching picture also1
0
votes
0answers
13 views

ASP.NET DataList returns empty with LinkButton in modal popup

So I have a DataList that needs to display a dynamic list of items, with an option for users to remove an item from the list. I have this in a modal popup. Whenever I go to display the popup, the area ...
0
votes
0answers
10 views

SVG 1.1 Animation & Shape-rendering

I came across this problem, I simply have an SVG that rotates to the middle of the landing page, usually I use: (shape-rendering = "geometricPrecision") , in order not to display the Blurred SVGs, but ...
0
votes
1answer
33 views

Javascript InnerHTML not working on a DIV within a DIV [closed]

I have integrated summernote6 text editor into my website , i have a button that when pressed should change the default text content inside of the summernote6 text editor. I am using javascript for ...
0
votes
1answer
18 views

My Movie Review Wont Work and Tried Everything

So Every Time I type a movie in it dosent show up which it should I dont know what to Ive tried everything // Get input element let filterInput = document.getElementById('filterInput'); // Add ...
1
vote
3answers
34 views

Cannot cancel form submission in jquery

I am trying to cancel form submission after button click. When button is clicked i get some information from check-timetable-timing-conflict with json. So i decide to cancel the form submission if the ...
0
votes
0answers
29 views

'An item with the same key has already been added'

I am trying to send some data to the database via this form. I keep getting the error about an item with the same key has already been added. I have been trying to debug this error for quite some ...
-1
votes
2answers
41 views

how to make the text centerlized in the box in CSS? Mine didn't work

Tried to make the text, actually a link, inside "content_a" centrelized. But it's always on the right side. Could someone help to fix it? Appreciate it! here is the code for HTML .container{ ...
0
votes
0answers
15 views

Chrome Extension real time unblock website

First of all I know this quest has been asked a million times but nothing seems to work. Basically a chrome extension that would block certain websites at certain times. Everything is working except ...
0
votes
1answer
17 views

Using Django to display images

I am attempting to use Django to display 3 random images from a large list of user submitted images. Each image has other values associated with it like the author, so I've been making each image a ...
0
votes
0answers
25 views

how should i add a picture to my css code(i guess it needs borders) [closed]

Ive been learning html and css myself and i want to add an image and a text which moves when pages moves Heres what i did p1{ color: black; font-family: courier; } #p2{ color:black; ...
0
votes
0answers
20 views

Angular bind two select to object and store only the selected value

I have in my Angular component html 2 selects. The model select shows the models of the selected brand above. Currently the problem is that I want to store both as string but I am receiving from brand ...
0
votes
0answers
22 views

How to align my font-awesome icon to the left of the navigation main menu item in Wordpress

I am trying to display my own font awesome 5 icons on my main navigation menu (WordPress) instead of using a plugin with 4.7 icons. I thought I would start with my Home icon. So I went to my menu ...
0
votes
0answers
4 views

How to dynamically change the theme using highlight.js?

I have the following code: <head> <title></title> <link rel="stylesheet" href="./styles/darkula.css"> <link rel="stylesheet" href="./styles/github.css"> </...
0
votes
1answer
21 views

Validate required properties using javascript submit

I submited a form using javascript (must check pre-condition first), and I noticed that I'm not notified about unfilled required properties: function offerContract() // the function called when ...
-1
votes
0answers
14 views

Column ways show multidimensional array data in a html table [closed]

many times i am trying to show output column ways, but i do not success to get the expected result. i have a big amount of data collection i am trying to show data column ways on html table. i ...
-2
votes
0answers
18 views

Trying to display two data into one table

What I'm trying to do is merge data from two database table into one table output. The below code is where I display data from table event. And I'm trying to insert one more row that is 'name' from ...
0
votes
1answer
34 views

How to match HTML input and select styles with CSS

I'm trying to match the styles of both HTML <input> and the <select> tags with all fonts and size in their borders but I can't seem to find a solution for this. I have tried using the same ...
0
votes
0answers
10 views

YouTube video not streaming immediately on iOS

I have the following simple html with three youtube videos: <!DOCTYPE html> <html> <head> <title>none</title> </head> <body> <...
-5
votes
0answers
17 views

Overlaping elements in css [closed]

I have a problem with the CSS file. I can't make this. It is just look easy.
-1
votes
1answer
32 views

How to get value from a drop-down menu in HTML to use in my Flask app?

I'm trying to get a value from a drop-down menu that comes from a pandas data frame, This data frame has some Restaurants information such as(Name, Address, Ratings, etc) I'm just selecting the Name ...
0
votes
0answers
14 views

Load Sensor Values from Flask App using AJAX

I want to use ajax to refresh data values on a flask webserver on my raspberry pi. I have a button I click and it reloads the entire page to refresh the sensor values, so to be more efficient I want ...
1
vote
0answers
5 views

How to Configure HTML body for ms-outlook://compose body parameter for Outlook for iOS

I was previously using instructions based on this post. But it appears that with Outlook for iOS version 4.14.x and up (Outlook version tested as of this post 4.15.0) the encoded HTML body is being ...
0
votes
0answers
11 views

React Native fetch() returns empty response body for HTML page

I'm working on a React Native application and I'm trying to fetch and parse the HTML data of the following website: 'https://menus.princeton.edu/dining/_Foodpro/online-menu/menuDetails.asp?sdtdate=12%...
0
votes
1answer
26 views

how to change an image source more than once using onclick on html and javascript

I am trying to have an image, once clicked move on to image 2, then once image 2 is clicked it moves on to image 3, then image 4 and so on, but I am struggling to find a way to have more than 2 images?...
1
vote
1answer
35 views

is there a way to keep the active class on selected button after page refresh(submit button clicked)

I have two buttons that shows and hide inputs when selected MY CODE <form method="post" action=""> <div class="btn-group btn-group-toggle" data-toggle="buttons"> <...