Questions tagged [html]

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser. Questions regarding HTML should include a minimal reproducible example and some idea of what you're trying to achieve. This tag is rarely used alone and is often paired with CSS and JavaScript.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Why focus-visible would not work on <a>, when it has a <div> as its child?

I am working on keyboard accessibility, and I notice that for <a> tag with <div> as its child, browser(I am using Brave, which is Chromium) will not show styles I defined with :focus-...
John Winston's user avatar
  • 1,289
0 votes
0 answers
10 views

How to preg_match regex values between dynamic urls in php

I want to preg_match the values between these html tags with php but the url is dynamic in these html elements it is change every time <a class='feedlink' target='_blank' href='https://www.hostname....
smallbee's user avatar
  • 245
0 votes
0 answers
9 views

Offset Background Image

How do I offset background image in such a way that the background only reveals the bottom half of the image from the top of the parent container while the other top half of the image is hidden as if ...
Innocent Victor Mark's user avatar
1 vote
2 answers
15 views

Adding a margin-top to a paragraph with a single bold string

I have dozens of blog posts imported from a Wordpress site, where they have used single bold lines as headings (without tagging them as such). This is my content example: <p><strong>This ...
Chaoscontrol's user avatar
0 votes
0 answers
4 views

Adding nebular to project

I am following along with a tutorial to build a basic tic-tac-toe game in angular as an introduction to the framework, but I am seemingly unable to run any angular CLI commands apart from version, ...
BaileyLylyk's user avatar
0 votes
0 answers
7 views

Prevent copy-paste of text. user-select:none doesn't work on Android/iOS when drag across the text

How can I make it such that specific text on a webpage cannot be copied by the user? I've seen all the answers that say to use user-select:none. This works on my PC, but not on iOS or Android. (Tried ...
user984003's user avatar
  • 28.1k
0 votes
1 answer
22 views

PHPMailer worked for a while, but now is not working

I made a form on a website using PHPMailer. My form was working fine for a while, but now it doesn't. I relatively new to PHP, so I'm not sure where the problem is.. So this is my PHPMailer file "...
Marielle Nadeau's user avatar
0 votes
0 answers
5 views

Jira Script Runner update issue description with HTML

I am writing a script to remove signatures from description using Script Runner. My workflow: fetch issue description HTML using renderedFields def issueDescription = get("/rest/api/2/issue/${...
user17923344's user avatar
0 votes
0 answers
7 views

Redirecting to a different webpage results in a doctype error

The Error: Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (anonymous) @ script.js:56 So this is my server side code block which is the issue: app.get("...
CodeBlaze's user avatar
0 votes
0 answers
21 views

Which languages can ı use with xampp? [closed]

Can I use xampp application with any language? Ex: I have ruby, javascript, pyhton or typescript web application project can I use or there is a another web server to use it and how can I do it? ...
Mehmet Çetinkol's user avatar
0 votes
1 answer
8 views

Is it possible to use Tailwind to create a responsive grid (dynamic number of columns that wraps to new row when appropriate)?

https://play.tailwindcss.com/gUoOBmaNxj was my attempt: <div class="w-96 border-2 border-red-500"> <div class="grid auto-cols-max grid-flow-col gap-2 border-2 border-black&...
Ryan's user avatar
  • 22.4k
-1 votes
0 answers
25 views

I want to add multiple currency symbols for my HTML form pattern [duplicate]

My pattern for generating the below types of strings $1000,000 €2000,000,000.56 ¥30,333,333.67 The pattern I am using is being applicable only for string starting with $. How to update this regex to ...
prabhat gundepalli's user avatar
0 votes
0 answers
13 views

HTML table formatting with rowspans doesn't work [duplicate]

I want to make table just as shown but without the dot in the 3rd row. When you open the site you can see that there's a dot next to 8 and I want it to be removed, but when I remove it the whole table ...
michas's user avatar
  • 1
0 votes
0 answers
20 views

Preview function of diffrent html content [closed]

I need to write a function that will output the first three lines of html text. The issue is that, the html text could be as: <p>Lorem ipsum... </p> <div>Lorem ... </div> <...
proggaf's user avatar
  • 29
0 votes
0 answers
12 views

Linking python code with html code for styling

I want to link my python code file with my html code file to perform styling on the python output. My html code looks like this (I tried to configure my page with github): <!DOCTYPE html> <...
Prabhaan Goyal's user avatar
-3 votes
0 answers
24 views

Can get data into phpmyAdmin through registration but can not login using entered data [closed]

I am creating a register and login form using php, html. I can get data into the database using the registration form but I cannot login using the data on the database and my buttons don't redirect to ...
Yodee's user avatar
  • 1
-1 votes
0 answers
15 views

Using google Source Sans Pro font in Website without referring to google API url

I am trying to rebrand the Web App with new font - Source Sans Pro, but have issue in following google steps in referring google api url directly as these or any external link is blocked from server ...
Pradeep H's user avatar
  • 590
0 votes
0 answers
15 views

Sellix not replacing custom field variables in the redirect URL

I am using Sellix to sell my products and I have set up custom fields to collect additional information from my customers during the purchase process. I am trying to use these custom field values in ...
Ithoughtiwouldneverneedstack's user avatar
0 votes
0 answers
10 views

HTML class isn't getting added dynamically at runtime (Blazor)

I am trying to hide/show a spinner component I made at runtime in Blazor. However, it's not showing up, despite Show() getting called successfully (verified by breakpoint). In the browser, I see that ...
dan's user avatar
  • 1
0 votes
0 answers
8 views

How can I reference logo.png files with names in my React application and display them dynamically for the tech stack of my projects section?

I'm working on a web development project where I have a list of projects, each with a title, description, and a technology stack. I want to display technology icons next to the names of the ...
sof's user avatar
  • 1
0 votes
1 answer
22 views

Cannot access offset of type string on string after Upgrading to PHP 8.0

I keep getting the following error: `PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in... on this line: <a class="menu-item__second-level" href="&...
alaska's user avatar
  • 11
0 votes
2 answers
51 views

how to write html tags in a c# string

I want to include the following HTML code in my C# code: <span style="color: red; font-weight: bold;">Authorized.</span> However, when I include it in my C# code as is, it's ...
Berkay Kulak's user avatar
0 votes
1 answer
19 views

I want the image to take the shape of piece of puzzle I created

I am creating the page layout to be like puzzle pieces, I want the image to take the shape of one of the pieces, is there any way -or maybe property like background-clip: text but for images- to do ...
Marya's user avatar
  • 77
0 votes
0 answers
17 views

How to make Text scroll *around* fixed object

Firs, heres the Codepen https://codepen.io/Katherine-Rub/pen/eYbrNzQ I'm aware that my use of terminology might not be precise, and this may be why I'm struggling to find answers on Google. Here's ...
coding_cate's user avatar
0 votes
0 answers
7 views

Express.js post request not handling route

This is the folder structure: I'm trying to make my python script get input from my html file and give it's output displayed by the html Here is the html script in jQuery: <script src="https:/...
Thiago MM's user avatar
-4 votes
0 answers
34 views

Why am I getting "text is not defined" when i defined it? [closed]

I am getting "text is not defined" when i defined it. how is that possible? I wanted to get a small page on my pendrive that would change the iframe contents depending if the cursor was in a ...
user22638394's user avatar
0 votes
0 answers
12 views

Cesium: View from the front of the tracked entity and add first-person view

I am using Cesium. I have such a piece of code. It describes the logic of an airplane's flight from one coordinate to another. Issues: Initially, the camera is not oriented in the direction of the ...
Alexey Buhayov's user avatar
0 votes
0 answers
25 views

Trying to make my SUBSCRIBE button at bottom of form

I have written some css code and all looks good on desktop but on mobile all is okay except the SUBSCRIBE button which ends up not at bottom of the form but at the bottom line of the multiple choice ...
Michael's user avatar
0 votes
2 answers
54 views

change the background of an item when another item is clicked

I am trying to write a code to a HTML page, in which there is a table of values. I want that a click on any row of the table changes the background color of another element, basically just a box, to ...
springsissor's user avatar
0 votes
1 answer
31 views

Troubleshooting Basic Javascript into HTML DIVs

Years since I've touched JavaScript, but I cannot seem to reuse this previously-working JavaScript into a new HTML file... everything is in one folder. Nonetheless, nothing appears in the web page ...
Travis Bennett's user avatar
-1 votes
0 answers
24 views

find string from div title beautifull soup

i need to do is to get the number of likes, comments, and shares from a fb post, what i have done until now is something like this # Extract the text content of the post post_content = ...
Francesco Serangeli's user avatar
0 votes
0 answers
6 views

MJPG IP Camera Feed Displays in Firefox But Not Other Browsers

The below URL works from within an html file on Firefox but not Chrome, Brave or Edge browsers. Has been tested on Linux/Firefox, Windows/Firefox, Windows/Chrome, Windows/Edge, Android/Firefox and ...
bcs's user avatar
  • 9
-2 votes
1 answer
28 views

Problem with getting a javascript varible into a HTML element [duplicate]

I have 1 variable witch i would want to get into the p element in the code. let firstNumber <p> <p> I dont know how to put the variable value into the p element. I tried the way of ...
Isak Grönlund's user avatar
-1 votes
3 answers
35 views

Change background color of a row of Divs on hover

I am trying to change the background color of a row of Divs on hover but I cannot figure out how to do that. // row 1 <div>1</div> <div>2</div> <div>3</div> <div&...
user1292275's user avatar
0 votes
0 answers
23 views

I want to upload a file and after uploading want to show the first page as a thumbnail in react

I want to implement the file upload functionality and after uploading the file, the first page of the file must be the thumbnail. I'm using library react-pdf for that but it is giving error failed to ...
Abhishek Negi's user avatar
0 votes
0 answers
4 views

Error crbug/1173575, non-JS module files deprecated in debugger tab

I am trying to make a website and I finished the HTML and CSS file, and I wanted to test it. But the error started to appear in both Chrome and Visual Studio Code. Chrome: VSC: I thought I have to ...
Kitten Strike's user avatar
0 votes
0 answers
13 views

SwiperJS - How to show four fixed-width slides for desktop and center active slide for mobile and tablet

I have a carousel where the requirements state to show four slides for desktop. The slides have a fixed width for all viewports and are 280 pixels wide with 32px spaceBetween. The issues I'm trying to ...
user3120861's user avatar
0 votes
0 answers
21 views

Custom cursor's position moves when scrolling upward

I'm making a custom hover cursor on my video div but it's not moving with my mouse stays at its position when I scroll, Can you all take a look at my code and tell me what am I doing wrong. And one ...
sareb's user avatar
  • 13
1 vote
1 answer
14 views

Sticky sidebar below a header which has a non-sticky logo and a sticky navigation?

I am working on my website and I would like to have a sidebar menu which is above the main content and always remains below the sticky header. (For explanation: The sidebar is used to jump between ...
melina's user avatar
  • 78
0 votes
1 answer
18 views

want to create two column in first row and one column in 2nd row which will merge two column in htnl css

I want to create two columns in the first row, those columns taking 70% and 30% of the space; and in the second row one column. But When I add text and image then it's creating issues and the position ...
Student's user avatar
0 votes
1 answer
43 views

How can I do this without changing css and just use html? [closed]

The platform I use can carry out simple web design, one of which is to make changes directly with code, but the effect I want is to make changes to css, but I asked the company, they only allow us to ...
Wenmj's user avatar
  • 11
-2 votes
4 answers
45 views

CSS - Show cards inline on laptop but vertical on mobile

Context and Problem I am working on this page here, focusing on the "Top Artists" bit. Desired Outcome: From laptop: I want cards to be "vertical" rectangle (taller than wider) ...
Physics_Student's user avatar
0 votes
0 answers
25 views

the data from form is not printing in console which is collected by post method express

a form is in admin page to add products but the data (data is inclusive of an image file)in the form is not printing in the console instead it shows "{} POST /admin/add-product - - ms - -" ...
Abay sankar s's user avatar
0 votes
0 answers
16 views

Any way to make a different point of reference for Ion-Popover?

I have this HTML: <ion-grid *ngIf="headerService.showSearch()"> <ion-row id="searchbar" class="main-searchbar ion-align-items-center"> ...
Juan Manuel's user avatar
0 votes
1 answer
8 views

Using sanitize-html for node, how to remove specific tags that are included by default

Using sanitize-html I would like to remove SPAN tags from HTML, but it seems there is no remove-tags option? As SPAN tags are included by default, it seems the only option is to recreate the list of ...
Ken's user avatar
  • 94
-2 votes
0 answers
17 views

Textbox into drop-down

In my code I have drop down and textbox Now the issue is I want to hide the textbox and use the same functionality to drop-down instead of changing the backend there is any other ways of doing (in asp....
1926JB55 Soundarya.S's user avatar
-2 votes
0 answers
33 views

I need help in creating a login and register website where users logins will be store in sql database [closed]

I am completely new and want to know how i can achieve that hello greetings, I am trying to create a website that will allow visitors sign up and login later using their username/email and password ...
Hernandez Frimpong's user avatar
0 votes
0 answers
34 views

Hidden attribute in Tailwindcss

I tried adding a hidden attribute to some contents in the navbar using TailwindCSS. In the tag I used hidden md:block where the content suppose to be displayed when the screen size gets to 768px and ...
Victor Winner's user avatar
0 votes
0 answers
20 views

Django and Javascript: Multiple events fired with same button not working as expected

I have this ongoing issue with an eventlistener. I can't seem to delegate the proper way and I'm at my wits end with this issue. The user clicks on a delete button which will check the hidden delete ...
Wideback's user avatar
0 votes
1 answer
24 views

hide / show table row with radio button MVC

I have a employee list I pulled it through my database, and I would like to add Radio button to hide / show table row in my list. I write this in veiw : @* ---Active part*@ &...
Fatimma-0's user avatar

1
2 3 4 5
23621