Category "html"

Can I call a JavaScript function inside a <link> tag href?

I have a CSS file I need to load with an included version: <link rel="stylesheet" href="../assets/css/jquery-ui.css?="+getVersion()/> where getVersion

How would I implement image track settings

At https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints there is a section called “Properties of image tracks.” How would I adjust

Link text color not changing after being visited

I'm working with HTML and CSS, and am trying to write a link that directs the user to a new tab. I want the link color change to a specific color I want after b

HTML table with 100% width, with vertical scroll inside tbody

How can I set for <table> 100% width and put only inside <tbody> vertical scroll for some height? table { width: 100%; display:bloc

Slick slider issue: displaying thumbnails in vertical columns

I'm using Slick slider and am trying to display the thumbnails as shown in the image below (2 images a row). I used the 'rows: 10' and 'slidesPerRow:2' function

How to animate CSS ::backdrop behind HTML <dialog>?

The <dialog> element is now cross-browser compatible (since March 2022). I tried my hand at it today and familiarised myself with: HTML <dialog> Ja

HTML + JavaScript custom player for multiple videos on a website page

EDIT: I have found the solution, posted and marked as the best answer below. I'm coding a portfolio website for myself using HTML, CSS and JS and I need to add

How can I get the values of data attributes in JavaScript code?

I have next html: <span data-typeId="123" data-type="topic" data-points="-1" data-important="true" id="the-span"></span> Is it possible to get the

Which Captcha or related is easy to is install on form?

I am a newbie to programming and I already struggled a lot for a week to have a fully functional form that validates, stores data, and then redirects. Please le

Valign not working in Outlook HTML Emails

So I've been wrangling all week with a newsletter redesign for my company, tweaking the html to make it display semi-consistently across email clients. I've mad

Micro frontend architecture advice [closed]

We have several web applications that we wish to present under one single page application. We are looking for a micro-frontend architecture/f

Jenkins - How to handle checkbox in Active choice reactive reference parameter

I tried setting up active choice reactive reference parameter as given in the link : https://www.infracloud.io/blogs/render-jenkins-build-parameters-dynamically

HTML5 Canvas camera/viewport - how to actually do it?

I'm sure this was solven 1000 times before: I got a canvas in the size of 960*560 and a room in the size of 5000*3000 of which always only 960*560 should be dra

Bootstrap dropdown not working on include header php

I have two pages home.php and header.php now the header file has the the top navigation bar that is to be included in the home.php page.I used a bootstrap drop

How to create a W3C-validation-link for local files?

I have some local (self generated) HTML files. I view them in browser via file:// without a local webserver. I would like to have a link in the footer of each o

What is progressive rendering?

In order to find a good internship, I am engaged in answering these questions, There is one question which I am not clear what it says, I have never heard relev

Stop a form after it has submitted

Just like the question asks, is there a way to stop a form after it has been submitted? This is not a 'how do I validate' question. I cannot call a function and

How to remove a div with fade out effect in JavaScript?

I want to remove a div element on click event but i want to remove it with a fade out effect. I have got some JQuery solution but i need pure JavaScript or css

moving inline javascript to separate file

I was trying to copy and learn from this turorial: https://www.youtube.com/watch?v=txUvD5_ROIU but I wanted to move the inline javascript to a separate .js file

What XPath to select only non-taged text inside div. Selenium. Java

I want to select only the text "only this text" from the snipet below using XPath (in Java) but that text is random and I don't know what is written there. &l