Category "html"

Is using tabs for navigation a violation of the ARIA specification?

The current title is as carefully reworded by somebody else. I could rephrase it as Do ARIA specs allow the use of tabs-based implementation of a navigation men

Scratch card game with non-repeat array

This is a scratch card game I modify using script from https://jennamolby.com/interactive-scratch-and-win-landing-page-tutorial/ . I was trying to make a scratc

Safari CSS relative parent & relative child with pseudo selector does not match other browsers output

I am not looking for an answer to fix the code, moreso an answer or explanation as to why. Safari will render children elements with a relative parent in a comp

Check user role in Thymeleaf using Webflux security

I have a Spring Security 5 Reactive Applications using the "@EnableWebFluxSecurity" annotation.For my frontend I am using Thymeleaf.Now I have the problem that

Video can't press play on React

I have a working product that takes a file from API and read as a blob. But pressing the play button on the video does not work. I have tried using tried using

How to use .slice().reverse() in *ngFor with | keyvalue?

I often use .slice().reverse() in *ngFor to display elements in reverse order. But now I have a problem, because I also use | keyvalue. How to use .slice().reve

is it possible to have a flask app and an ejs website

i am making a flask app and usually i would do the following code: from flask import ( Flask, render_template, request ) app = Flask(__name__) @

Position of image <input> open dialog on Safari iOS

I need to trigger browser image selection from photo library/camera in response to user clicking a custom element (hiding the default <input>). Using the

Cart's update on subpages

My cart doesn't want to update on subpages, even though I basically copied the same code from index.php (including the script). I checkec twice and everything i

Is it possible to convert a Scratch project to an Android app?

For those of you who don't know, Scratch (scratch.mit.edu) is a programming language based around connecting 'blocks' of code in order to create a project. I h

Why is my page not loading when clicking on event listener?

I'm creating an anime quiz. So when the user clicks on "Welcome to the anime quiz" s/he should be presented with 4 different anime titles. However, nothing happ

Is there a way to add two values of an array?

I am trying to make a vernam cypher using html and js, I started by giving each letter a value like (a = 0, b = 1, c = 2, … z = 25). Made two inputs so

About implement single HTML page with multiple tabs via CSS with or without JavaScript aid

I am interested in building a web page with one single HTML file and multiple tabs. Since only one tab at a time can be selected, I thought that the most approp

How to add multiple path locations in flask

i was thinking to simulate a disk full situation. so that after certain number of files gets uploaded into one location it will automatically switch to differen

disable other buttons using e.target.id

I have ten expansion panels. on click of one button in one expansion panel I need to disable other buttons in other expansion panel but the problem is when I tr

Does length of CSS code determine the loading speed of website? [duplicate]

I am beginner. I want to know, Does length of CSS code determine the loading speed of website?? Please tell me about relation of code and load

How to create a zig zag pattern using CSS

On a repeated background, the edges of the repeated tiles don't align exactly on certain zoom levels. This leads to unwanted edges as the color of the backgroun

Unable to render .MSG files via "https://view.officeapps.live.com/op/embed.aspx?src=[MSG file URL]" on HTML iframe

I have to render some office files( .doc, .ppt, .xls, .msg, .eml) which are publicly accessible documents on the browser. I was using iframe like below and it

How to convert these inline style in html into react?

Hi Inside the html people use these kind of styles to animate. I am actually following the pen from alphadex Link. I never see this kind of writing in HTML befo

The <picture> Element in html5 shows not different images by resize

I found this code : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_picture I have tried it on all my browsers and it's been working properly