Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
0
votes2
answers52
viewsHow to remove a style font from a string using DOM manipulation?
I’m getting the following HTML from an API: <body> <div class="container"> <style> .g-aiPstyle0 { font-family: 'Sentinel SSm A', 'Sentinel SSm B', serif; font-size: 16px;…
-
0
votes2
answers104
viewsChange background color of a table Row using checkbox
I’m trying to change the color of a row when a checkbox is selected, but when selected only one, the table the entire color is changed, the check remains only in the selected one, but the color is…
-
0
votes1
answer247
viewsHow to resolve Uncaught Typeerror: Hidden is not a Function at Htmlbuttonelement.onclick?
I have a javascript file with this code: const newTopic = document.getElementById('topic'); const introduction = document.getElementById('introduction'); function hidden(){…
-
0
votes0
answers37
viewsfunction does not work within setInterval within another function
Hello, I started studying Javascript a little while ago, and I always get excited when I go to mess with kk functions, I’m trying to create a stopwatch with JS and HTML, but when I create the…
-
0
votes0
answers19
viewsJS to click a button automatically
Good morning! I have a problem that I need to make more than 1000 changes to some web pages, and I wanted to automate this. My idea was to do this via JS. I searched through the web and found the…
-
0
votes0
answers26
viewsTable header does not repeat on new sheet when printing
I have a attendance table of a school and when printing it generates two sheets. However, the table header that should be displayed on the two sheets only appears on the first one. As the header has…
-
0
votes1
answer27
viewsNotice: Undefined index: pg in C: xampp htdocs pirataflixS Assets Movies.php on line 36
You’re making this mistake for me, I can’t solve it, can you give me a boost? I’m trying to register youtube links on DB, it’s going normal, and showing the videos too, but it’s this line of error…
-
0
votes2
answers48
viewsSave values from fields created With Append(dynamically created field ) in the database
I have the following code in JS, it creates new fields when clicking the button "+": What I would need is rescue the values that are created with the append and insert them into the Database using…
-
0
votes0
answers14
viewsCodeigniter controller does not show dropdown
I’m having a little problem with the dropdown menu and my codeigniter controller. I have in my controller the variables for the dropdown content, but it’s not working. They’re just not working…
-
0
votes1
answer125
viewsPlace a caption on a Chart.js chart
I need to put a caption on a Chart.js chart, but I’m not able to do that. Does anyone know how I do? <div class="flex-conteiner2"> <canvas id="myChart3" width="900" ;…
-
0
votes1
answer29
viewsVertical limitation of the web page
Hello, my first question (I’m a little nervous O.o), I hope I can explain my doubt. My doubt... I have a project for college and I’m having difficulty of Front-End, I need to perform a Horizontal…
-
0
votes0
answers13
viewsHow to round the result of a script, in case the script is IMC calculator
IMC calculator <h1>Calculadora IMC</h1> <form name="FormInc" action=" " method="post"> Enter your weight: Enter your height: <script type="text/javascript"> var peso; var…
-
0
votes0
answers20
viewsHide buttons after login
Hi, I hope you can help me. I want to hide the Login and Register buttons from the index and show the message (hello) after Login. (the hello message is for test purposes only). I have already done…
-
0
votes1
answer39
viewsI want to be able to customize OUTPUT, I want to be able to customize the result of the calculation but I cannot with this code
1.I have already done the css of the first part, that is the part that commands the information, which in this case is the height and weight. I want to take this information and calculate the BMI.…
-
0
votes1
answer41
viewsFatal error: Call to Undefined Function query
Can someone help me with this mistake: Fatal error: Call to Undefined Function query() My code: <html> <head> <meta charset="UTF-8"> <title> Perfil Candidato(a) !…
-
0
votes1
answer90
viewsUse Header,Main,Footer as Frames
Good afternoon, you guys. I started using html at the time of the front page, at the time we used frames to have the link only in the body of the page, leaving the static top without loading in a…
-
0
votes1
answer39
viewsNesting (nesting) is a specific feature of SASS?
I just finished a Bootstrap course and I had one question: nesting (nesting) is a specific feature of SASS? From what I understand here, yes. I say that because when using Media Queries in…
-
0
votes1
answer137
viewsDynamically change field in Reactjs
I am developing a project, and when typing a value in a field I need the other field to be changed based on the values I set in a function, here is the code: constructor(props) { super(props);…
-
0
votes1
answer123
viewsChange status according to date
I have tremendous doubt about how I could solve/create the solution. I could do it manually by creating a select on the side and changing the status of the race after Ubmit, but the idea is as…
-
0
votes1
answer62
viewsCharts.js Problem to bring Data to the chart!
I have a Google Charts chart that works perfectly bringing the database data through ajax, but I tried to do the same with Charts.js and I can’t. I would like to know how I put real data on the…
-
0
votes1
answer101
views"Error: cannot set Property appendchild() of null
In my code I made a function to create a button and right after the user click on it the button and the other altered content are deleted. I managed to reach that point, but button is at the end of…
-
0
votes0
answers22
viewsHow to observe an element that is added and removed from code
Hello, the title of my question may seem a bit confusing, but I’m studying to make an extension to Whatsapp, I want to be able to print a log saying that there is a new message whenever you receive…
-
0
votes1
answer319
viewsTake SELECT value with JS
I want to take the selected value from select and return to the screen using js. HTML: <select name="lista" id="lista-conteudos"> <option value="ADIÇÃO">Na adição uma quantidade é somada…
-
0
votes0
answers19
viewsTransition with Vue grid
I have the following code in my component: HTML <template> <div id="app" :class="[ { 'hide-menu': !isMenuVisible || !user }, { 'hide-header-footer': !user }, ]" > <Header…
-
0
votes1
answer92
viewsDropdown button inside a card does not work (Bootstrap/Angular)
Hey, guys! All right? I cannot make the dropdown work and open your options. This button is inside a card that is to be a kind of left sidebar. I got this button on bootstrap. All this code is…
-
0
votes1
answer31
viewsFunction to save script ? JAVASCRIPT
I have a script and would like just to put you inside a Function because it is not good practice to let "loose" scripts, so I would like a function that does not modify at all my script, just serve…
-
0
votes0
answers52
viewsPlacing CANVAS inside an SVG, is it possible?
I’m trying to create a quiz for visitors to the page to mark where they’re feeling pain in their body. My idea was to generate an area that was possible to draw/paint but that was delimited by the…
-
0
votes0
answers9
viewsmediaElement does not work on jlPlayer
hello I’m using the using the jlPlayer and I have this video code: <video preload="none" class="jlplayer-video" id="MY_VIDEO_1" onended="refresh()"> <!-- <track kind="captions"…
-
0
votes0
answers65
viewsSearch bar return card according to what is typed
I need that as I type in input, stay only the card containing the characters typed. Example: In input I typed "AD", so the system should look for cards with the title that contains the characters…
-
0
votes1
answer30
viewsMisaligned search bar of the div
My search bar is not inside the border of div. It was all supposed to be in one line inside the div, but the search bar is below the border of the div. body{ margin:0; } .conteudo{ border: 1px solid…
-
0
votes0
answers25
viewsKeep iframe extension running in the background in Chrome
Good afternoon! I apologize if that question already exists but I haven’t found anything like it. I created an extension to listen to Antena 1 by Chrome through an app. Basically I took the URL…
-
0
votes1
answer112
viewsShow and hide fields as checkbox is selected
I need each of these checkbox options (if selected) to show the input field related to each of them. But when I select the checkbox it does not show the related text field that should be displayed.…
-
0
votes1
answer29
viewsTake 2 values of 2 inputs and add
I would like to know what I’m missing! Besides the numbers can be with comma or without. I wonder how to solve these two problems. var x = Number(document.getElementById('x').value); var y =…
-
0
votes2
answers57
viewsIs it possible to use jQuery effects with the <option> tag of a <select>?
I wanted to use a jQuery effect, for example the hide(). You can implement this effect by clicking on a <option>? <div class="form-group" style="margin-left:…
-
0
votes1
answer50
viewsCheck products with ajax and php for sales page
I’m trying to create a small sales system for a local store and I’m having trouble on the sales page, I was trying to learn how to use ajax to query product data in the mysql database of xampp and…
-
0
votes2
answers75
viewsInsert line break in an AJAX response
I’m developing a system for teaching purposes, but I can’t do a simple line break. The System is basically a filling of some inputs, where when clicking a button it reads these fields and assembles…
-
0
votes1
answer100
viewsDisable links in an iframe
I am unable to find a solution that disables links within an IFRAME. I’ve seen on the web the option to use a pointer-Events: None; within CSS. This works, but ends up making the scroll of the page…
-
0
votes2
answers39
viewsClick to close all Faq questions, open the clicked question and with another click, close the open question
Good afternoon, I am creating a FAQ, and in it there are some questions that when they are clicked, should appear her answer right below, to do this I created a toggle in JQUERY. To ensure that the…
-
0
votes0
answers20
viewsin a fb.array I have another array so I can’t generate the other field to insert a new product and its additions
Good afternoon, everyone, I need your help. This is a piece of Json I need to assemble. { "produtos": [ { "nomeProduto": "Bolo", "produto": 47, "valor_venda": 10, "quantidade": 1, "totalProduto":…
-
0
votes1
answer36
viewsHow can I make the last two boxes move to the right without changing at all the content within them?
[![ CÓDIGO CSS: * { margin: 0; padding: 0; } body { background-image: url("imagens/imgfundo.jpg"); background-attachment: fixed; width: 100%; } header { width: 100%; background-color: rgb(202, 212,…
-
0
votes1
answer32
viewsDetecting Input Value is Transforming to Message
I’ve been trying to create a system for a while, but I can’t. I have a life bar that moves according to the current value and the maximum, with a dice next to it that creates a random value from 1…
-
0
votes0
answers30
viewsdisplay an online and offline background color status, and taking away information duplication using PHP and an API
Hello, I’m here to ask for your help, I have a job to do with pure PHP and an API provided by the company, and the part I stopped was where I need to do online and offline status by changing the…
-
0
votes2
answers25
viewsError 404 when saving a form - Wordpress
Ladies and gentlemen, good night! I am using the wordpress tool a little while ago and I came up with a problem that I could not solve. When I try to save a form in mysql database error 404 appears.…
-
0
votes0
answers58
viewsAlign 2 Information in a column with Table Using *ngFor
So I’d like to line up my table, currently it’s coming like this: But the expected would be something like: in this case, each part of the object in a given row column (showing both the status and…
-
0
votes0
answers29
viewsScript returning bool(false)
Good morning. Needed a help with this code, is only returning bool(false). I am building this code based on a video of the channel Códigofontetv on youtube. This one is index.php: <?php…
-
0
votes1
answer30
viewsPop up extension Chrome cutting text
Hail! I’m doing a pop up for my Chrome extension but am finding a problem. When I click on the dropdown, the text is cut: I believe it’s because he’s going to right but Chrome does not allow…
-
0
votes0
answers11
viewsUpload Files by Magic Form
I’m using the Octobercms framework, and in it I use a plugin called Magic Form (by Martin M.), and the normal form (with text inputs) works perfectly, all inputs are recorded in the database, I’ve…
-
0
votes1
answer157
views'utf-8' codec can’t Decode byte 0xe1 in position in rendering html
Greetings to all. I am trying to render an html file with Python/Django and am getting error "'utf-8' codec can’t Decode byte 0xe1 in position" because of a sharp comment. The problem wouldn’t be…
-
0
votes2
answers121
viewsQuery to PHP database with WHERE does not return value
The query variable that I use to query the position in the database is the $fornecedor who receives $_POST['fornecedor'] from another page, but the query does not return values only goes blank, when…
-
0
votes2
answers52
viewsI cannot create an image in DOM with javascript
<html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,…