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
-
-2
votes1
answer66
viewsHow to insert an image via CSS?
Follow my HTML code: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"/> <title>web page</title> <link rel="stylesheet" type='text/css'…
-
-2
votes1
answer35
views -
-2
votes1
answer73
viewsHow to make the input follow the last character inserted?
The problem is this. I made a calculator and the result input this as readonly. To insert the number into it just by clicking on the buttons I made as shown in the following photo: However, when…
-
-2
votes2
answers82
viewsHow to turn multiple variables into one PHP
I have a form with 8 input fields that take the entered value, I pick them by the POST but only 1 of the 8 fields is filled by the user, and in the POST I’m passing the 8 values even having only 1…
-
-2
votes1
answer93
viewsHow to add logo to a boostrap login box?
Good evening! How do I add a logo to a login box? I’m trying to add to my site, but I’m not getting it. Page in question: http://tratspay.com/app/login.html enter the code here <div…
-
-2
votes1
answer1126
viewsI cannot place the image next to the title using tag link
<title>Biografia - João da Silva</title> <meta charset="utf-8"> <link rel="icon" href="favicon.png"> <h1>Sobre mim</h1> <p>Moro em São Paulo mas atendo…
-
-2
votes1
answer53
viewsWhen inserted content into the div, the page does not scroll right
When inserted content into the div, the page does not scroll right, but without the content it was normal. var _AlturaDocumento = $(window).height(); function AlturaSecao(){…
-
-2
votes2
answers232
viewsHow to give bottom spacing (distance) in a li
Hello, guys. I’m new with development and I’m studying a little front-end (and loving hehe) I’m, for student purposes, creating a simple store website. I created a menu at the top of this page,…
-
-2
votes2
answers167
viewsCalculator in javascript+ Html no Quit result
I don’t know what I did wrong, I’m starting on this and I followed the booklet, but the mistake: can someone help me? <!DOCTYPE html> <html> <head> <title>Calculadora…
-
-2
votes1
answer81
viewsHow to open 4 sequential Selects, the last 2 not related to items?
EDITED I have 4 selects I called Level: Level 1 opens Level 2 as each item is selected. Each Level 1 item opens a specific select (works and uses Jquery) What I need: When selecting any item in…
-
-2
votes1
answer34
viewsEditing day with Angularjs?
I have a screen where register days, times, among others and a screen to edit this data, if necessary. When I click on the button to edit such date I get the data right. The point is that on the…
-
-2
votes1
answer27
viewsCreating part table link with Divs
.table{ } .row-table-head, .row-table a{ display: grid; grid-template-columns: 50px 180px 70px; width: 300px; margin: auto; } .row-table-head{ display: block; } .row-table a{ text-decoration: none;…
-
-2
votes1
answer69
viewsHow to create a server to place a website online?
Talk guys, all right? Well I know that my question about the title is a little strange, but apparent should have a very simple answer kkkk But first I will explain a little of my situation! My…
-
-2
votes1
answer35
viewsImage is not changing when I click (javascript)
I’m doing an old game and added an eventListenner to each space, so that as soon as I clicked, the image would change. But it’s not working and I can’t understand why. Follow js, HTML, CSS and…
-
-2
votes1
answer27
viewsJquery - Open all tabs
I’ve created a div that will expand. But when I click expand, all the Ivs open instead of just opening the one I want to expand. Is there any way to open only the div I clicked? Note: It will be…
-
-2
votes1
answer405
viewsFill a select according to another select with Jquery
Someone can help me with this logic? Next I am filling a select Manufacturer with data from a json using Jquery, the problem is that I can not think of a way to fill the other select Model according…
-
-2
votes1
answer405
viewsHow to make an element occupy the entire height of the div?
I have an element <aside>, and I want him to occupy all the height of <div> where it is inserted. However, I don’t know how to set the height relative to another element. How can I set…
-
-2
votes1
answer47
viewsCenter column on page
I am creating a login/registration screen. I’d like to keep it that way: Only in my code below it is positioned on the left. How to center, equal to the image above? <section> <div…
-
-2
votes1
answer85
views -
-2
votes1
answer48
viewsHow does an image adapt to the placement of an element in css?
I’m building a project and I had to use css, which by the way is not my strong suit, and I came across the following situation, the site needs to be responsive, but when I went to put elements…
-
-2
votes2
answers76
viewsDifference between element.class{} and element . class{}
I was mounting a screen using css and html, and came across the following situation: class "x" is added with a js, when the user rolls the sidebar (if the position is greater than 0, class x is…
-
-2
votes1
answer32
viewsExchange export version of Excel with PHP/Mysql
Guys, I have a code that exports my table from the database perfectly, but it exports it in excel 97 (2003), does anyone know any way to export this table in another version of excel and the file in…
-
-2
votes1
answer42
viewsJS code to give $('id'). Hide() and $('id'). show()
Good afternoon guys, all right? So I need a little help to make this code work. I basically need that when it is on the page "body" and that the class of the page is "courses" the div appear, and…
-
-2
votes2
answers88
viewsHow to align text with left text
Guys, I created a footer with the footer but I want the text on the left to be aligned with the one on the right same height and same line. My CSS: .rodape { width:100%; height:40%;…
-
-2
votes1
answer314
views -
-2
votes1
answer176
viewsReal-time website with Node.JS
Come on, guys, can someone help me with this... I developed a fully dynamic website with Mysql database, that is, all the main elements of the main page are coming from the database, I do this using…
-
-2
votes2
answers169
viewsPHP Undefined Variable - I can’t assign a value to POST
The goal is to log in using the CPF or NIS number. However I am not able to assign values by the POST method to the $CPF and $NIS so the login is never performed. <form class="form" method="POST"…
-
-2
votes1
answer122
viewsQuery error Warning: mysqli_fetch_array() expects Parameter 1 to be mysqli_result, Boolean Given in
I created a project in XAMPP where it is working perfectly. But when hosting on 000webhost, it emits this error. Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given…
-
-2
votes2
answers44
viewsHow to center an image vertically within a div?
Talk to me, baby? I wonder if there is some way to center an image dependent on another div (that would be text). For example: I will create a div and put an image (icon) on the left side and a text…
-
-2
votes1
answer50
viewssetInterval() I’m not getting it to work
I’m not getting to put the time because I created a Carousel and wanted to put a 4 seconds interval for iteration . <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
-2
votes1
answer38
viewsNot displaying all array values on the screen
I made a call to get JSON values from an external code (PHP). In console.log, shows all the data right, but when I go from jquery to display on the screen, it only returns me the last value of the…
-
-2
votes1
answer77
viewsMake div occupy the rest of the screen
Good afternoon, I tried several ways and could not make the container div occupy 100% of the screen (height). Above I have another div. *{ margin: 0; padding: 0; box-sizing: border-box; color:…
-
-2
votes2
answers152
viewsError loading CSS file, cannot find directory
I’m making a simple app, but I’m getting all confused in accessing the folders. I want to call the about.css file inside the layout.njk file. The directories I’ve tried none of worked. The structure…
-
-2
votes1
answer70
viewsHow to create Divs with Specific Images?
What is the best way to create Ivs with the images below using CSS? I would like my dashboard to look exactly like the image you have as an example. I created two classes to try to insert, but the…
-
-2
votes1
answer39
viewsLink appears outside the image on the html page
<div class="box"> <a href="https://www.microsoft.com/pt-br/windows/" target="_blank"><img src="img/win.png" alt="" width="150px"></a> </div> <div class="box">…
-
-2
votes1
answer51
viewshow to position image accurately
Hello I would like to know how to correctly position the image in the center of canvass with precision? <!DOCTYPE html> <html> <head> <meta charset="UTF-8">…
-
-2
votes1
answer14
viewsI cannot update a statically div via Jquery
Good afternoon, I wanted to keep static the text on the screen inside the div "msgemail", but it disappears soon after the validations. Can someone help me with my code ? Thank you. <!DOCTYPE…
-
-2
votes1
answer40
viewsHow to align these Divs side by side?
I would like to put the image on top of H3 and p, and not on the side, which is how it is getting. I have tried several ways and could not... HTML: <div class="pad-top-90 pad-bottom-60…
-
-2
votes1
answer40
viewsI cannot understand/find the error in php code
I am creating a client registration system and when I run . php it simply appears this error: php code: <?php $login = $_POST['inputEmail']; $senha = MD5($_POST['inputSenha']); $connect =…
-
-2
votes1
answer165
viewsPassword validation with javascript
I am trying to validate a form, which it from Submit in the form only if the password field is filled with at least 1 UPPERCASE LETTER, 1 NUMBER, 1 MINUSCULE LETTER. I did this with regex Pattern…
-
-2
votes2
answers79
viewshow to select more than one option in select Multiple using javascript?
I want to make the function seleciona( ), by clicking the Select button, select two of the options below. However, when I try to do this it selects only one option. <!DOCTYPE html>…
-
-2
votes1
answer43
viewsHow to make a Function, replace the value of a variable in JS?
Hello! I am developing a little game in Java Script, but I am with a difficulty in the moment that the player buys a coins bonus, it will replace a value in another function, for when it is…
-
-2
votes3
answers56
viewsHow do you put a div that’s inside a container under each other?
I’m having the following problem, my Divs are getting online, I’ve tried several ways to try to insert one under the other, but it still doesn’t work. The correct would be to stay in the format…
-
-2
votes1
answer80
viewsSelenium - Click Input with Onclick() event does not work
I’m having trouble trying to click a button (Input) HTML with Selenium on Internet Explore. When executing the command click() nothing happens nor even errors are presented. Follows below the layout…
-
-2
votes2
answers51
viewsHow to remove spacing between main tag and header? (solved)
When I place an element H2 within the tag Section who is the daughter of main, a spacing appears blank between the main and the header. The problem also occurs if the H2 tag is placed inside the…
-
-2
votes2
answers28
viewsFor all input, is it always necessary to add a value? And how do I make value not change the placeholder?
I’m creating a simple form with pure HTML from what I learned in Freecodecamp. But I was a little confused on the question of whether or not it is necessary to put value on every input because, in…
-
-2
votes1
answer15
viewsHow do I put a required input without the tag form?
Whenever I put the required property, my scrip stops working. How can I insert a required input without the tag form? var cont1 = 1; var cont2 = 2; var cont3 = 3;…
-
-2
votes2
answers44
viewsI’m not being able to print javascript
Well I’m trying to make a simple html page where the user type a number and then the page shows the Full of it. Only I’m not getting the page to type Abuda, someone can help me?…
-
-2
votes1
answer27
viewsWrite many inputs to bd
<form method="POST" action="proc_editar_despacho.php"> <div class="form-group"> <div class="card"> <div class="card-body"> <label…
-
-2
votes1
answer27
views