Most voted "html5" questions
HTML5 (Hypertext Markup Language, version 5) is a generic term for recent web technologies (HTML, CSS, and Javascript). It is also the latest iteration of the HTML Recommendation scheduled for 2014, and featuring new elements and Apis.
Learn more…3,881 questions
Sort by count of
-
0
votes1
answer77
viewschange the font color inside the pre tag
I have the following pre tag simulating js code <pre class="text" id="text-two" style="margin-left: -29% !important;margin-top: -8.5%;"> <h1> Deshboard codando mais um bot pra…
-
0
votes1
answer173
viewsResponsive menu #bt_menu:checked ~ . menu does not work
Talk to you guys, I’ve been looking into this, but I haven’t found any answers other than what I’ve done. I’m making a responsive menu without javascript (I don’t want to use js because I know…
-
0
votes1
answer196
viewsHow to pass a variable as a parameter to "getElementById"
I need to color several canvas, the code below colors one of them var canvas1 = document.getElementById("a1"); var ctx1 = canvas1.getContext('2d'); ctx1.fillStyle = cor; //aqui vai a cor html…
-
0
votes0
answers74
viewsBootstrap video error embed in modal
I’m having difficulties to incorporate video from my site in modal, I put one on youtube and it worked but when I try to put my mp4 in error. I know the error is here <div class="embed-responsive…
-
0
votes0
answers106
viewsProblems updating page and scrolling user after idle period
I need to deploy the user after an idle time. I can update and destroy the session but it’s not working as I need it. That in the case is that php does not identify as an activity performed by the…
-
0
votes1
answer38
viewsSet value in the textarea (Tinymce) by clicking on the table line
Come on, guys, I need a little help here... I am using the Tinymce plugin in a textarea element of my application Node.JS, I wanted to know how to set a text in this element, this text is coming…
-
0
votes1
answer63
viewsWhy aren’t you entering the data into sqlite and how to insert images?
I’m making a system, I followed all the steps to insert the data into the table using sqlite, but when I go to the Application in the part of inspecting the browser element the database remains…
-
0
votes1
answer37
viewsRepeating structure - 10% "every day"
I can’t make a repeating structure. Example of what I want to do: I enter the initial value and enter the percentage I want it to increase for 30 days. Example of starting value: 50. Percentage that…
-
0
votes1
answer152
viewsHow do I join texts in a Textarea with Js?
I’m trying to make a tabulation, where the result would be shown in an already existing textarea in HTML. I am using innerText to insert the text in this textarea, only the text is being replaced…
-
0
votes0
answers185
viewsHow to activate autoplay with sound in any browser?
Hello. I am working on a website and I would like a background sound to start playing automatically when I open the page. However, it seems that Google has been censoring anything that brings…
-
0
votes3
answers101
viewsDetermine when Loop WHILE should stop PHP
I have the following problem, I have a system in PHP that makes a WHILE in a column of the database that contains certain values and I need WHILE to stop at a value that I determine. The first…
-
0
votes2
answers70
viewsFadein and Fadeout in sequence
I have a challenge that I need the Divs to appear in sequence, one after the other. To do this, I created a loop that performs the functions of FadeIn() and FadeOut() for each DIV element of my…
-
0
votes2
answers101
views(JAVASCRIPT) How to style the layout of this JS code?
I have this code in javascript and I would like to edit its layout, but I do not know how to do (or do not remember) if you can help me showing examples I would appreciate. <script> function…
-
0
votes1
answer48
viewsJavascript Onchange event does not work on the Smartphone browser
I created a call in a checkbox for a JS function and the desktop is working perfectly, already in the smartphone browser just doesn’t work. I have other functions that are called the same way in…
-
0
votes3
answers359
viewsHow to move elements in HTML
I’m developing an application and I don’t have much knowledge about HTML. I took a template straight from the bootstrap site and am making some changes to look the way I want, but I’m having the…
-
0
votes2
answers217
viewsHow to make a random choice without repeating PHP
I am doing a back end course with PHP and I am not able to solve the following exercise <?php $animais_detalhes = [ 'cachorro' => [ 'nome' => 'Cachorro', 'caracteristicas' => [ ['mora…
-
0
votes1
answer45
viewsproblem HIDE and DISPLAY Jquery element (error)!
I built a simple javascript with Jquery for Hide and Show a field where the values tbem are reset depending on the option chosen in select, the problem is that when you enter the screen and select…
-
0
votes1
answer90
viewsContainer problem in html and css
I don’t have much knowledge in html or css. When I minimize the screen or change the resolution, the container does not follow the same pattern. As follows: Maximized: Minimized: Why is this…
-
0
votes1
answer67
viewsHow to remove the space between two Divs?
I have already researched here by SOF but the problems that appeared did not resemble mine, so I would like to know what I did wrong here: I want to know how to remove this space between the two Ivs…
-
0
votes1
answer49
viewsPosition Material icone within tag span
Faaala my dears, I’m trying to position an icon in and in the upper right corner of an element, but when I apply right: 0; my icone some. Some css wizards master around? .btn-redirect { display:…
-
0
votes1
answer32
viewsMy html element (H1) ignores the existence of the elements above it
I have the following HTML code that for some reason the tag <h1 class="teste"> is not recognizing the elements that are above it and tries to occupy the same space as the header on the screen,…
-
0
votes2
answers40
viewsHelp with alignment of items/images in a div
I’m doing a test with layouts to display images, and I have a question regarding the alignment of items within a div. Basically, I have a set of images and I need to display them aligned, 3 per…
-
0
votes0
answers50
viewsSide by side div with bootstrap
I am new programming with HTML and the like, I have a beam in the realization of a code, I can not put the div of the code below aligned side by side. The code: <div class="card border-success…
-
0
votes0
answers21
viewsFull Screen - JS
I need help dear friends, below I have a code to make the page stay on FULL SCREEN, more need to click the button every time I enter the page to stay on FULL SCREEN. I would like that every time you…
-
0
votes1
answer34
viewsHow to make a menu appear and hide it?
How to make the menu appear and hide? I’m not getting it. Code: let close = document.querySelector('.btn-menu') close.addEventListener('click', function() { var menu =…
-
0
votes1
answer39
viewsMenu and submenu difficulties
Hello comrades I am developing a software and I am having small difficulties in the menu and submenu. Submenu options are aligning to the right, however I wanted them to open down, I will…
-
0
votes0
answers70
viewsBug in external CSS file
Hello I am making a full screen menu type burger for a site with CSS and pure HTML. I made the code of this menu separate. But the problem is that the CSS code only works properly in the internal…
-
0
votes0
answers17
viewsDefault option "Other..." on a datalist, can you remove it?
Good morning! <datalist id="datalist"> <option value="08:00"></option> <option value="08:30"></option> <option value="09:00"></option> </datalist>…
-
0
votes1
answer31
viewsExecution of external script(js) on an online page
I want to execute a script (JS) specific to the exclusion of some elements of the page that I consider visual pollution; and hinder my navigability in specific. ( It’s the university website, so I…
-
0
votes1
answer25
viewsCenter the buttons
I would like to leave the buttons centered, but I’m not getting, could someone give me a light? Thank you already! I would like to leave the forgot password button further to the right. @charset…
-
0
votes1
answer109
viewsEvent/method that expects content from an iframe to be fully loaded/rendered
Hello, I am developing an html page, and in it I want to execute an iframe with another page (text) link, iframe takes about 2 to 3 seconds to be rendered/loaded, and I want to put an animation of…
-
0
votes1
answer56
viewsHtml form is not calling php
I’m making a simple php script that receives the login data from an html form, only apparently html is not calling the php script. snippet of html code: <form action="index.php" method="post">…
-
0
votes2
answers44
viewsProblem with inheritance in css
Guys I’m having a problem with my comic, well I want to change my comic so that all the elements stay the same. But I tried to do this with the following HTML: <div class="button_profile">…
-
0
votes0
answers18
viewsCreate new select with the button using array
I am trying to create a button so that there is the creation of a new select according to the need to fill and a delete button to delete those that have no need without deleting the first item. I’m…
-
0
votes1
answer28
viewsRemove the height of a footer from another height of a div above
Hello, how do I remove the height of a footer, from another height of a div above, explaining better: I have the div . Bigwell and want to remove to that div the height of the . tecData, to the div…
-
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
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
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
answer16
viewsI want to take the value of one form field and move on to another
I tried to do it in JS function diaSemana() { var data = new Date(); var dia = data.getDay(); var dias = ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado']; var p =…
-
0
votes1
answer88
viewsHow to increase border-bottom width?
How to increase the border-bottom where the arrow points : Code: .container__transacoes > h3{ border-bottom: 1px solid #bbb; /*Ver como aumentar as bordas*/ padding-bottom: 10px; margin: 30px 0px…
-
0
votes1
answer26
viewsI would like to understand how by a check js to confirm Butão
` Confirmations <div class="card-tools"> <button type="button" class="btn btn-tool" data-card-widget="collapse"> <i class="fas fa-minus"></i> </button> </div>…
-
0
votes1
answer72
viewsUncaught Typeerror: Cannot read Property 'num' of Undefined at Htmlanchorelement.addItem
I started doing the program in JS to have interaction with the front and I got this error. When it is to show the product, it works by showing the product name on the console, but beats this error,…
-
0
votes1
answer27
viewsProblem with iteration in React
I’m consuming an API, and putting your data in a 'li', only it’s popping the page because I mapped all the api items: function showState(states){ return states.map(state => <li…
-
0
votes0
answers41
viewsPlay one song at a time on an HTML5 Audio TAG that is dynamically created with the same ID
Good morning! I have a question regarding to be working with audio in a Web application, I have an App made in Python using Flask that sweeps a certain directory that has several MP3, so I create…
-
0
votes0
answers21
viewsHow to allow youtube video to be expanded on mobile MI 8 SE?
I have an app made in React-Note that there is a video embedded in a webview. A client complained that she can not expand the youtube video on the full screen of her mobile phone, I took the model…
-
0
votes1
answer21
viewsEdit class style individually with JS
Hello, I would like to take all the Divs called "card" and check a text within the div, the value of the text set as width of another div. Example : But I only managed to make it work in one "card",…
-
0
votes1
answer95
viewsCalculate Telefonic rate per minute with Javascript
Hello I’m a beginner in programming and I need to set up a page that has values of a phone promotion. Up to x minutes is free, after that starts charging per additional call minute + ddd price…
-
0
votes2
answers247
viewsHow to leave label on top of input
The thing is, I’m making a form and I want the label to be on top of the input, but I couldn’t get it because I used the float: left to leave the inputs side by side, but I want instead to look like…
-
0
votes0
answers18
viewsCarousel bootstrap does not work data-touch
I used the bootstrap Carousel to display the images from a list of products. I use Angularjs to retrieve the list from the database. I make use of ng-repeat to assemble the page with the product…
-
0
votes0
answers27
viewsForm is not picking up values by querySelector
I have a "piggy bank" project that keeps and withdraws an amount of money passed by two different Foms, but when trying to withdraw, the values are empty as in the example: {date: "", amount: "",…