Questions tagged [html]

HTML (Hypertext Markup Language) is the standard markup language used for structuring web pages and formatting content. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language. HTML works in conjunction primarily with CSS and JavaScript, adding style and behavior to the pages. The most recent revision to the HTML specification is HTML5.2.

Filter by
Sorted by
Tagged with
-4
votes
0answers
13 views

Why does innerHTML not react to a .innerHTML JS function? [closed]

I'm attempting to make navigational tabs using buttons and JS functions, and the tab part seems to be working great. However, the content that's supposed to change when you click the tab won't change. ...
0
votes
0answers
17 views

Mysql query with subquerys for each column with different categories

Tables: [CATEGORY] idcategory (int), category (varchar) [THEMES] idtheme (int), idcategory (int), theme (varchar) n numbers of categories. For this example, lets say 6. Each categorie has 18 themes. ...
-1
votes
1answer
15 views

How can i position several elements with icons beside each other in one div?

I want to create a call to action section in the header of my site, i want a picture on one side, and on the other side i want to put a title (h1 specifically) and a paragraph and finally a button to ...
-1
votes
0answers
20 views

Buggy Variable JQuery [closed]

Below is some code that I have been working on. For some reason console.log(arrayOfSelection[i] + ': loaded fully!'); sometimes states undefined: loadedfully! rather than what is in the array. The ...
0
votes
0answers
8 views

SVG image with gaussianBlur flickering around the edges in Firefox latest

codepen: https://codepen.io/cryptodescriptor/full/QWLrKMx github: https://cryptodescriptor.github.io/survey-form/ github repository: https://github.com/cryptodescriptor/survey-form Frosted Panel (...
0
votes
0answers
7 views

Dropzone delete not working on server side success

I have integrated dropzone library with laravel .Dropzone set following configuration autoProcessQueue: true, uploadMultiple: true, parallelUploads: 10, maxFiles: 10, paramName: "photos", ...
0
votes
2answers
21 views

Dynamically update a buttons onclick inside a Bootstrap Modal

I'm trying to pass a value into a Bootstrap Modal and then display it when a button is clicked, however nothing is displaying when I click the button.. Can anyone help fix the issue? I believe the ...
0
votes
0answers
15 views

How Can I Avoid “tainted by cross-origin data” on My OWN PERSONAL, locally stored, image files?

I am manipulating locally stored images using a locally stored HTML file via javascript and of course, jQuery. The image files, the HTML file with javascript, and JQuery.js are all stored on my ...
0
votes
0answers
17 views

Angular Interpolation Binding does not show date if format is not “yyyy-MM-dd”

My interpolation binding doesn't work if the given format is not 'yyyy-MM-dd' .html: <div class="form-group"> <label>DOB <input type="date" class="form-control" id="birth_date" ...
0
votes
0answers
20 views

There is no 'style = display: none' in my code, why does this appear when the page is rendered? [closed]

this is my code. <nav class="pagination"> <ul> {% if articles.has_previous %} <li><a href="?page={{articles.previous_page_number}}">...
0
votes
0answers
22 views

when i createElement in one function, when i getElementById it results in an error

so this is my html code, now i know itd be easier just to code the elements into the html code, but i need to be able to create the element in one function, and modify it in another. so this is mt ...
0
votes
0answers
11 views

Displaying data from MySql in certain html tables that have certain values [closed]

Okay so say I have 3 html tables Superadmin, Admin, Moderator. I then have a table in MySql that's structured like this [ id | name | rank | time online | last online ] How would I make the users ...
0
votes
0answers
18 views

How do you disable an app on chrome OS with javascript?

I am a bit more experienced with making games than interacting with files in ways this significant. I am trying to make a little GUI that can disable an app (on Chrome OS) and re-enable it. I have ...
0
votes
0answers
10 views

Mousewheel plugin returns odd values for windows PC's

So I'm trying to implement a special scroll behavior. Since I kind of solely have a horizontal carousel, I want to convert vertical scrolling to horizontal scrolling. Since I personally didn't know ...
0
votes
1answer
16 views

How to direct another page in JSP?

<jsp:setProperty name="firstBean" property="sifre" /><br/> <c:choose> <c:when test="${firstBean.sifreKntrl()}"> Hosgeldin! </c:when> <c:...
0
votes
2answers
17 views

Iframe Not Showing Up on Page

how come my iframe isn't showing up at: http://orcaaccounting.com/helloFriend.html Here is my code, <p style="text-align:centre;"> <iframe width="560" height="315" src="https://www....
0
votes
0answers
15 views

Apply style from Bootstrap theme

I have this JSF code which I use to create table pagination table: <h:commandButton value="first" action="#{registeredAttendies.pageFirst}" ...
0
votes
3answers
39 views

How can I create a list where I can add and remove inputs via buttons?

I've an idea. For this I need a list like this draw: So the main idea is to have a plus and a minus button. When a users presses the plus button, another input get's added. When pressing the minus ...
0
votes
0answers
35 views

Getting iframe variable from parent JS file [duplicate]

Hello guys! I need a quick solution for problem: there is a single line - var hei = $(document).height(); And it loads only inside iframe page. On the main page I have this: $(document).ready(...
0
votes
0answers
7 views

Bootstrap: bring fixed horizontal nav bar above other elements

I have a vertical bootstrap sidemenu that would responsively switch to horizontal. The problem I have is that the sidemenu would hide behind other elements once it turns horizontal, see example in ...
-1
votes
1answer
16 views

Do I need to keep all the bootstrap files in my root folder

Am new on bootstrap usage. I am designing a website using bootstrap so I want to know, I already linked my local bootstrap CSS file in the head section of the html file and it's working fine, however ...
0
votes
0answers
7 views

scrollspy nav bar sticks on active after scrolling away

I am using a scrollspy navbar so that the navbar automatically switches to whichever sections that the user is on; this works fine. Although if I click on a section e.g. 'Contact' and I then scroll up ...
-1
votes
1answer
19 views

How to save an image to a database?

sample predefined icons I kind of wanted the user to choose one image from the predefined set of icons and then the image will be saved in the database after submitting the form. (I also want to know ...
0
votes
1answer
26 views

Showing two selection boxes side by side

I have the following code which I wrote: <div class="selectAorB" *ngIf="this.objects.length > 1"> <div> <select (change)="this.AorB($event)"> <option value=...
0
votes
0answers
21 views

Odd behaivour of clientWidth and offsetWidth, why do they return wrong values?

I am trying to understand why the below code snippet returns the wrong value and it doesn't matter whether I use clientWidth or offsetWidth. const imgSize = document.querySelector('.slides').children[...
0
votes
0answers
10 views

Chrome ignores changes to the page title when the popstate event is fired consecutively

I am using the HTML 5 History API to manipulate the browsing session history and I came across an issue in the Google Chrome browser. I would like to set the page title each time the user goes back ...
0
votes
1answer
18 views

Getting index from entire table not just page in an angular mat-table

I have a mat-table with paging at 5 rows/page and when I click on a column link in a row, I'd like to get the row selected from the entire table index, not just the page I'm on. ex. If I'm on the ...
0
votes
1answer
23 views

What is #app means in reactjs in HTML code?

In some codes I saw that instead of using div they used only #app and call in ReactDOM. What is this syntax for? HTML: #app React: ReactDOM.render( <App />, document....
0
votes
0answers
12 views

Sync audio to video when manually controlling currentTime?

I'm building a video editor. There are a series of clips that get played according to their position on the track and the current time. I am using React to manage my video and below is how I am ...
0
votes
0answers
17 views

Search field in a html page is not working as desired for second string

I have a series od div elements among which I need to display only specific elements that contain the search string. I used display property to show the content if the string exists in the webpage. ...
0
votes
0answers
9 views

why home.html (for adding a new post) is not showing the rendered django form with ckeditor toolbar in add new post?

i am integrating some apps to make a bigger project but the problem is when i try insert ckeditor in html login page it is not showing. for this reason i tried to make separate app is to see whats ...
-1
votes
0answers
16 views

How to prevent linebreak in blockquote(HTML)

Looks like the line breaks when there is a space and Length is long enough... Here is my code <blockquote> <p>...
0
votes
0answers
12 views

JavaScript program using arrays taking in user input and displaying various statistics

This program is suppose to take in input from the user for project name, cost, gain, and then the program should display the summary of each individual project along with its net profit, ROI, and ...
0
votes
1answer
19 views

Can't get 1st item to reset in a html select using angular

My drop down works fine when I initially open it up inside a modal window. If I change the select to some selection drop value then close the modal and reopen, it stays the same. It doesn't reset it ...
0
votes
1answer
14 views

How to read video duration from formData fiile - Angular

I'm trying to read video duration from a input type file, here's my code: html: <div class="uniform-uploader"> <input type="file" class="form-control-uniform-custom" name="...
0
votes
0answers
27 views

JQuery Timing with the load()

I am currently trying to make a tool for my work and the timing is messing me up a lot. Hopefully someone can help here. Below is my code that I currently have. The issue is when I grab a selected ...
0
votes
1answer
4 views

Why I get chrome launch error, when I export some data with html-to-xslx package in node js

When I try to export data with html-to-xslx npm package, this message displayed: Error: Failed to launch chrome! [0221/145806.785119:ERROR:zygote_host_impl_linux.cc(89)] Running as root without ...
0
votes
0answers
22 views

(.getBoundingClientRect().height are giving wrong values

i am trying this code in an angular project but not working, although it does in an HTML template the main goal of the code is to make the div to fit with its content function resizeGridItem(x,item){ ...
-3
votes
1answer
30 views

How to fix this PHP Parse / Syntax error? [duplicate]

I'm trying to fix this script that gets an error: PHP Parse error: syntax error, unexpected 'Content' (T_STRING) in ... The error.log says the error is at line 266, which is the head-meta http-...
0
votes
0answers
8 views

How to read csv file with csv & html files both on workstation - No web server

I wish to use browser to read in a csv file However, the html AND csv files will be local to workstation - not on a web server. There are jQuery examples on using $.get() and csv.toArray but these ...
0
votes
0answers
18 views

Create a React card component from scratch

So I've created react cards with boot strap... very easy, and I know how to create cards with pure HTML and CSS/Grid. But form some reason I am having super hard time creating a react card inside of ...
1
vote
2answers
24 views

Unexpected result from margin-top next to a floated element

I'm having issues with a layout like this: .wrapper { clear: both; background-color: #ccc; } .wrapper+.wrapper { margin-top: 50px; } .side, .main { height: 100px; padding: ...
1
vote
3answers
31 views

Aligning items inside a button

I'm trying to align a triangle next to written text in a button using only HTML and CSS. For the life of me, I can remember how. .room-info-btn { background-color: #FFA500; color: #fff; ...
-1
votes
0answers
22 views

Issues with HTML Form and PHP on same page [duplicate]

I'm trying to create a HTML Form combined with PHP, that insert data from the HTML Form into my database. The PHP script is working properly, but I really want it to be displayed on the current page ...
-1
votes
1answer
16 views

HTML footer on print on every page without fixed footer [closed]

i want to add a footer to every page if i print this page. I do that with fixed-position the problem ist that the content of the page is overlapping the footer. Is there a chance to avoid that or ...
-2
votes
0answers
10 views

Search in div elements

I found this code on codepen. I am trying to figure out a way to search within the text fields from an input field. Any suggestions? <section class="container"> <div class="page-header"> ...
0
votes
0answers
18 views

How to save-as html file, an embeded browser display?

I have upgraded the performance of the VS 2019 WebBrowser control by adding to the html file, thanks to https://weblog.west-wind.com/posts/2011/may/21/web-browser-control-specifying-the-ie-version. ...
0
votes
0answers
11 views

Search Bars from DataTables not showing up

I am trying to move some search bars related to my DataTable to the top of the page as opposed to the footer of the table. However, they aren't showing up. I've checked for duplicate IDs, made sure my ...
-1
votes
1answer
19 views

Print a string message within a error message in Angular

How to print a string keyword from an error message. I just want to print "Bad Request" (in this case) from the error message "400 - Bad Request URL: put:http://x/y/z Message: Http failure ...
-2
votes
0answers
30 views

PHP validation with matching passwords

After doing some research I can't find how to figure out the following issue. I am trying to have the php validate that all fields are being entered by the user and that both passwords are matching. ...