Category "html"

Move focus to next control on key Enter

I have found some project on Angular 1.x where user can move focus to next control by pressing Enter key. 'use strict'; app.directive('setTabEnter', function

Can I build my form without using Django form?

I'm using Django and I just did a big form Using HTML5 and bootstrap. Can I still send the form via the post method to django if I'm not using it to generate th

How to add favicon image on browser title bar in website

I am trying this code <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link href="<?php ec

Element with z-index is not hiding elements with lower z-index

How is this z-index formatting supposed to work? I should be able to see only the layer with z-index with 150 and not any other, but I am able to see all three

How to keep content in a container, but extend it's background full width in CSS?

I am trying to develop a design that looks like: In the design above the red lines are the sides of the container. I am keeping the content of the section wi

Jupyter Notebook: Hide / fold a paragraph of text as "hints"

I am using a Jupyter Notebook for an interactive coding demonstration. There is an exercises block where the user should enter their own code to try and solve a

Access html5 data-* attributes defined in a module script

When loading scripts without using modules, I could use the document.currentscript to access custom attributes. E.g. <script src="js/myscript.js" data-custom

JQuery get table row values from input and save to array

I have a table with input fields inside the td. How can i get the values from the input fields (by button click) and store them into an array (one row) using JQ

How to change the "Browse" button text

I need to change the "Browse" button text according to the locale in a JSP. (Ex. Russian , Portuguese) for a Spring based project. Following is the current imp

read | extract | export URI from qr code image with browser as a link | Is this possible with a tag, css class, some short js?

qrcode image for scan or click. Is it possible to read the qr code of an image with the browser without an add'on or extension and if i click to the image it wi

favicon.ico:1 GET http://127.0.0.1:8080/favicon.ico 404 (Not Found)

I'm going through a javascript tutorial right now and noticed that all of my HTML files are receiving this favicon.ico:1 GET http://127.0.0.1:8080/favicon.ico 4

Make the dark mode button above all elements used DarkMode.js

I want to make the dark mode button above all the items on the website.I used DarkMode.js for the same.The button is hiding behind an image.How make its priorit

Using JavaScript need to group elements

I am looking for efficient method to modify my object list which looks something like this: const pets = [ {type:"Dog", name:"Spot"}, {type:"Cat"

How do I get the HTML between two div elements in Python

I'm trying to scrape all the paragraphs from Wikipedia that come between the main heading of the page and the table of contents. I noticed that they always come

How to put a background video loop on a website HTML/CSS

I'm trying to put a video as a background video on my website. I've researched a lot and it is not working and I don't know why. On my html I have: <video

Issues when using w3data.js

I'm trying to use w3data.js for an all html website. The goal is to limit copy/paste from page to page by adding html includes. In my case I've created an index

How to modify the first pageNumber or execute JS in header or footer template with Chrome DevTools Protocol's printToPDF

I'm using Headless Chrome to print out PDF files by using the printToPDF CDP method. If we set displayHeaderFooter parameter to true, then we can set specific p

How to customize Date Picker via simple css?

I am trying to achieve this My code is below HTML <input type="date" > CSS input { border: 1px solid gray; border-radius: 4px; }

Flex gap and flex wrap with percentages

I am constructing a form where the field's width percentage is dynamically set by clients. My first approach was to create a flex container with wrapping enable

Python get string from an html page

I have to create an array which contains all the element within title="", for example: title="xxxxx", title="xxx2", title='xxx4', etc... I need to get xxxx,