Category "html"

What is the difference between counter-set and counter-reset in CSS?

I've recently been trying to automatically number headings for my Notion writing. The usual implementation I found on the Internet is like this: body { coun

Two legends in a fieldset

You can't have two legends for a given fieldset, but is there a way to get a legend effect without using the <legend> tag? <!-- left legend --> <

Display terminal output live onto webpage

I'm trying to create a web page where the user will press a button, and it will send some code presented in a div to the terminal which will be executed, I woul

Download anchor link with authorization header

I have a link that I would like to add to my javascript (Marionette/Backbone) single page application that will download an Excel file to the user's local drive

In HTML, with JavaScript, create new radio button and its text?

I want that when the "Yes" radio button of a form (form1) is checked, a new form (form2) appears, with two radio buttons and their text "Yes" and "No". With an

Ruby on Rails Slim Templates with HTML Entity Escaping

I have a RoR slim template with the following: input(type="text" placeholder="I'm looking for&hellip;") But sadly it outputs the HTML entity escape 'as-i

Text input - text appears at the middle?

So it's very simple but I can't find the answer. The text on my text field appears at the middle and I want it to appear at the top left corner like it normally

Can't embed a TikTok video

I just wanted to embed a TikTok video to my local website. <!DOCTYPE html> <html> <head> <title></title> </head> <

Add bold text and line break into Laravel Notification Email

Laravel 5.6 I'm attempting to send a Laravel Notification via email. I want to make make some of the text bold, and put in line breaks, without a whole new pa

Get the document's background color

Most web browsers, by default, render pages as having a white background. However, this is to some extent user customizable, and some browsers are different.

How can I create a Download Page with post php method?

I want to know that how can I create a download page in PHP that download files without reveling the download link to the file, and source to the file and downl

javascript close current window

please help java script about close current window. this is my code and it does not work. <input type="button" class="btn btn-success" s

Rails CSS, JS, and jQuery TypeErrors (for Windows) [duplicate]

It has recently come to light that my program is experiencing plenty of errors on the localhost:3000 server. I'm quite new to Ruiby on Rails a

HTML Links with anchor and pixel

I am looking for a solution without javascript, where I can use an link like this: <a href='#link1 +60px'> This is just an example for easier understandi

Adding CSS linked stylesheet outside of head section

This might seem a bit unorthodox, but I am trying to use Bootstrap with the website I'm working on now, but don't have access to the head section of the site it

CSS content with delay

I'm using CSS content property to add content before an html tag. span::before { content: 'content that needs a delay'; } <span></span>

How do I refresh a HTML table after editing it?

I am making a very simple system that records bookings, everything is editable other than the 'booking number' and 'price' sections which are static. The bookin

How to play sound through HTML buttons

My current method of playing music through my website is by the HTML audio tags. However I want to be able to play it through HTML button instead. This button s

How change nameMonths of fullcalendar to Spanish or any language

I hope somebody could answer, is kind of silly question probably... I would like to change the values of monthnames, monthNamesShort. I found I can change the v

How do I create a button that when clicked scrolls down to a different section on the page?

I have created a button on a landing page, I would like users to be redirected to another section (in my case the contact section) on the same page when they cl