Category "html"

contentEditable keyboard shortcuts

Is there any official list of keyboard shortcuts for browsers, that can be used in contentEditable div for text formatting? I know three for Chrome (and maybe

Can HTML imports be specified using the Link HTTP header, or only with a <link> tag?

The HTML <link> element is most frequently used to include CSS stylesheets in a document. A typical use might look like this: <link rel="stylesheet" hr

React: Number input with no negative, decimal, or zero value values

Consider an input of type number, I would like this number input to only allow a user to enter one positive, non-zero, integer (no decimals) number. A simple im

Why is this HTML5 document invalid?

I'm getting pretty confused about an error message I'm getting when I try to validate any simple HTML document without a meta encoding like this: <!DOCTYPE h

Creating a new multicharacter script. But get the error cannot set property 'innerhtml' of null

I'm making a new character selector for the game fivem. But now i get a error. When i try to make a new character he shows up the forum where i can fill out the

how show the title value for an input when it gets the focus

If I have <input type="text" name="name" id="name" placeholder="your name" title="only words" value=""/> If the u

Make a button inside an element clickable while the element itself is also clickable

I have a simple sidebar, that has a bunch of list items in it, and a button right next to the list item, like so: I attached a click handler to the <li>

HTML forms validation with a FILE input object

I've been pulling my hair out trying to add a FILE input object to a form on one of my intranet web pages. I saw this article (HTML <input type='file'> F

How to get rid of table borders in markdown?

This is my markdown code |Time | Length | Speed | Mass | | --- | --- | --- | --- | | -Millisecond | Millimetre | Kilometre per hour | M

How to stop HTML email <img> src attribute from being removed

The IMG src attribute is removed from tag and only ALT text is displayed in HTML email. Below is the container table from the banner that contains the image.

request.FILES always empty on file upload

I am totally stumped on this, and must be doing something incredibly stupid. I am trying to simply upload a file on a Django project. The problem seems to be th

Why is Chrome's onerror event for the img element only fired once?

Why is Chrome is only calling the onerror event for the img element one time when all other browsers (IE7,8,9, FF, Opera, and Safari) all call it repeatedly? I

How to correctly use title attribute in stylesheet link tags

Can someone describe in detail what the title attribute is for when added to a stylesheet <link> tag in the <head> of my HTML page? Playing around

Automatic double quotes after '=' in Visual Studio Code when adding attributes in html

Whenever I add attributes to html elements like 'class' or 'id', VSCode automatically input two double quotes right after I type '=': <div class='modal-heade

How to Automatically Click Save on a Save As Dialog Box?

I Have a Download Button or a link when your click on it, it shows a Save As Dialog box to save the file my question is, is there anyway to atomically click sav

The server responded with a status of 404 (Not Found)

I am trying to instantiate a class in one JavaScript file in another HTML file but I keep on getting this error. Here is the code for the JavaScript file: c

Background image not showing in Safari

I am working on a responsive design and the class "bgMainpage" is having a background image but it is not showing on Safari on all the devices. I have applied b

Req.Params.Token returns undefined

In my code, I have my registration page send out a verification email once the form is filled out and submitted. They receive the link to their email to verify

Link CSS from another folder?

I am making a website and I am trying to find a way to link my CSS file that is in other folder but I have no idea how to do it. At this moment I got it in the

How do I combine all the layered images for my background?

enter image description hereI'm currently trying to build a videogame but the background images that I downloaded on Itch.IO are 3 layered bg images. I don't kn