Category "html"

Creating a plain html home page AMP with WordPress running the other pages

Gday I like to know how you would go about creating a home page in plain html and have WordPress run the other pages? The reason is I’d like to create

Why is "cursor:pointer" effect in CSS not working

I set cursor: pointer for .about > span, but when my mouse hovers on those texts in <span>, the cursor does not change into pointer mode. I would like

Getting Value of Selected Nav Pill

I'm trying to make a pair of nav pills to choose between a graphical and a tabular output for a set of data and I can't seem to figure out how to grab the value

CSS z-index not working with child-elements

Ive tried for a personal project to do menus, that are opened on highest layer (z-index 3) so they overlay my board, but the header in which they are is at lowe

Simple jquery not working to print the input value

Here is a simple code which takes input and print it on the same page. But it is not working when I click on button. Please help regarding this. <html> &

Adjusting position of CSS drop down menu

I am trying to modify a CSS Tab w/dropdown menu to add another level of menu (don't ask why). I got it working, but I want the second drop down menu (the one wi

Trying to target specific links for styling in CSS

I'm trying to target just the links in my nav bar as I have inserted other dummy links further down in my home page that I want to style on their own. I have tr

What is the difference between the Descendant combinator and the subsequent sibling combinator? [duplicate]

To my knowledge, the descendant combinator (space) targets child and descendants of the parent element. the subsequent sibling combinator (~)

What is the difference between the Descendant combinator and the subsequent sibling combinator? [duplicate]

To my knowledge, the descendant combinator (space) targets child and descendants of the parent element. the subsequent sibling combinator (~)

HTML5 datalist tag is not working in android

I am using the datalist tag to provide auto-complete to an input text. The tag is working fine on desktop chrome but it's not working when I test it on my phon

What is causing my text to be center aligned in desktop?

I'm using Bootstrap 4's accordion on this page, and the text of the last item of the accordion is being centered. I'm not using text-center nor do I have a CSS

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