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
-
-3
votes1
answer55
viewsNeed to Align HTML + CSS imputs
I need to line up these imputs body { font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.6; } #btnRefresh { background-color: #6a9ce6; } .button { background: rgb(60, 163,…
-
-3
votes2
answers120
viewsWhy doesn’t my page resize and how to make it resize?
In full screen is like this: But when I put it on a smaller screen it looks like this: HTML code: <!DOCTYPE> <html> <head> <link rel="stylesheet" href="_css/estilo.css">…
-
-3
votes2
answers767
viewsProduct registration - create features
I am having great difficulty implementing dynamic results in my application .... 1 - When deleting a row, sort the rows correctly 2 - Calculate GENERAL shopping-cart total 3 - Recalculate the GRAND…
-
-3
votes1
answer140
viewsWhich link should I use in my event page article? for it to open and load individually?
Hello guys I’m having a doubt that’s keeping me awake. On my page index.html have a < section > calling for EVENTS, and I also have a page called html events. In the html events. I have some…
-
-3
votes1
answer316
viewsSum in php does not work
Good morning, I have the following problem: I want to add the initial evaluation with the final evaluation and the result appear on the screen but always zero, where I am failing? <th> <div…
-
-3
votes1
answer2490
viewsParse error: syntax error, Unexpected '$error' (T_VARIABLE) in C: xampp htdocs HITSS register.php on line 26
I’m with the title error in my code, can someone give me a light? <?php $erro = array('1'); include("conexao.php"); if(isset($_POST['Entrar'])) { //1 - REGISTRO DOS DADOS if(!isset($_SESSION))…
-
-3
votes2
answers160
viewsIs there a way to place an image on top of a button or in the background?
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <button id="bcen"…
-
-3
votes1
answer443
viewsSelect radio when clicking a button
I want when the person clicks on button 1, automatically the radio 2 is selected, thus preventing the user from making two clicks. How can I do that? Note: The same thing will also happen when…
-
-3
votes1
answer3184
viewsAngular ignores line break in String
I’m assembling a message with several messages in JAVA. After it was sent to the front/view but the angle is eating all the lines breaks: public String salvarPorXLS(){ while (rowIterator.hasNext())…
-
-3
votes1
answer207
viewsProcess form data with javascript and html
I wanted to make a program that the user would send 3 notes and after pressing "Calculate", you would be redirected to a page that would appear your average. Who could help me: function calcular() {…
-
-3
votes2
answers52
viewsProblems with HTML function
Good afternoon guys all right ? I’m trying to call a function I made to validate a null field of html, but the function is not calling. I have a file name: Verificacampos.js function Validacao(f) {…
-
-3
votes1
answer138
viewsHow to add count with PHP?
I want to put an effect Carousel in a session, on the home page, where I pick up the 3 most recent posts. But for this I need the index, change as you do loop. As it stands, the index appears 0, for…
-
-3
votes1
answer254
viewsDropdown menu - transform <ul><li> into <select><option>
I’d like to put up the menu dropdown on my site when choosing variations. Both on mobile and computer. I found this article teaching to do, but in the script I could not properly replace the terms…
-
-3
votes2
answers93
viewsSwitch between modes
I want to make a modal where I can view the registration and if I click to Edit up the other modal, thus switching between forms. HTML with modal: <button type="button" class="btn btn-primary"…
-
-3
votes1
answer68
viewsImage preview
When I change the image, the preview of the previous images does not disappear... function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload…
-
-3
votes1
answer192
viewsHow to remove a certain element when making the site responsive?
people I know it sounds like a dumb question but here’s the thing I’m doing a responsive website and of course what I did to web won’t fit into a mobile phone. So supposing I made for web a table…
-
-3
votes1
answer220
viewsSubmenu Bootstrap in Jquery for Typescript
I am starting my studies with Typescript and I am trying (and need) to modify a code that I found ready, which is in Jquery. But I need it all in Typescript, but I’m not able to make it work yet.…
-
-3
votes1
answer34
views$_SERVER['HTTP_HOST'] generating 2 times
I’m having a hard time. I’m in the localhost and I want to take the path of website to advance a link of a image $uri = $_SERVER['HTTP_HOST'] . '/mvc_crud_pdo'; $iconeTransporte =…
-
-3
votes1
answer228
viewsParking activity in JAVASCRIPT
I need to do a class exercise from a parking system, follow the HTML format: <head> <meta charset="utf-8"/> <title>Estacionamento</title> <script type="text/javascript"…
-
-3
votes1
answer80
viewsI’m not getting to call class in css in the conventional way
I’m starting to use vs code now, but when I try to reference a class created in html code, by css, I need to do without a point, I can’t understand what kind of error this might be. follows the 3…
-
-3
votes1
answer55
viewsPrint the counter result
Good afternoon.. Ta all working just so that I am not able to put the value of approved student accountants or not. anyone help me please.. I want to add the values there at the end of the html in…
-
-3
votes1
answer79
viewshow to solve the modal problem by taking the last id
<div class="panel-body"> <table class="table table-striped task-table"> <thead> <th class="col-sm-1">Sistema</th> <th…
-
-3
votes2
answers1544
viewsHow to insert a LI into a UL with Javascript?
I’m looking to add a LI between two LI’s of a UL. I don’t have access to the CSS/HTML code of the website template, if it would not create easily, so I’m thinking about adding via html and…
-
-3
votes1
answer35
viewsGenerate and delete rows from a table with Jquery
I made a function that generates lines in a table but I’m not able to delete them. Could someone tell me how I can add and remove every time I click the buttons? Function generating the lines var i…
-
-3
votes1
answer1223
viewsUncaught Typeerror: Cannot read Property 'checked' of null
I am having this error in my code: "Uncaught Typeerror: Cannot read Property 'checked' of null", I searched for it in Google, tried the presented solutions but none worked. cadastro-cuidador.js:…
-
-3
votes2
answers176
viewsRun Modal Code Behind ASP.NET?
I’m trying to run a modal through ASP.NET and I got it; Using the Script <div id="mymodals" class="modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div…
-
-3
votes2
answers59
viewsVisually cluttered list (UL) in vertical list
How to make the children of UL are, visually , in a vertical list, at the same level - be have to use negative margin-.? #hamburguer { display: none; } #categ_menu { display: none; } .menu_nav {…
htmlasked 5 years, 2 months ago alexsandro junior escarpetti 9 -
-3
votes2
answers358
views -
-3
votes1
answer48
viewsHow can I place images in the hangman game below? I thought I’d replace the image with every wrong attempt on the javascript part
<html> <head> <meta charset="utf-8"> <br><center><font face="Helvetica" color=black size=7><b>DOM…
-
-3
votes2
answers196
viewsHow do I add numbers in innerHTML?
The code is not adding, just joining (concatenating*) the numbers var media = ""; var media2 = ""; var media3 = ""; var media4 = ""; function myFunction(){ media =…
-
-3
votes1
answer102
viewsConvert sql dates to Brazilian format in PHP
Good afternoon guys, I am not able to display and convert sql dates that were REGISTERED, I want to display in Brazilian format, someone can help me? CODE <?php $sql=""; require('conexaobd.php');…
-
-3
votes1
answer32
viewsSite background is not being resized along with @MEDIA
I’m starting to use @media on CSS3, I’m starting to produce now, but when I put the visualization on Chrome for any device smaller than the resolution gets a 1200px white background and the right…
-
-3
votes2
answers75
viewsI would like to know how to change the color of a button for 1 second and then return the original color automatically
I was able to change the color of the button at the beginning of the repetition, however I do not know how to return the original color to the end. let interval = setInterval(function () { if (i1…
-
-3
votes2
answers128
viewsCan someone help me with that effect?
Does anyone know how to do that "curve" effect on a div? link to img I was trying to do more I couldn’t. The code I was using: body{ height: 100vh; width: 100vh; background:#7ABCFF; display: flex;…
-
-3
votes1
answer626
viewsChange the action value inside the form
I have a code with a "form" and I have two buttons that I want you to direct to different pages. By clicking the finish button I would like the "action" to be action='envio1.php' and by clicking the…
-
-3
votes2
answers144
viewsPassing the value of an input
I am inciante and tho with a doubt that it looks simple but I did not find a response, mto provable that I tho letting a silly thing pass, but I am not managing to pass a value of a text input…
-
-3
votes1
answer60
viewsParse error: syntax error, Unexpected '{' online 3
'Cause you’re making that mistake? Parse error: syntax error, unexpected '{' on line 3 Php code <?php if (isset($_POST['email'] && !empty($_POST['email'])){ $nome =…
-
-3
votes1
answer46
viewsSlider- I can’t apply Javascript to a slider
Good afternoon. I’m developing a website for a university project. I’m still new to web development, but I’m very interested in it. I’m using templates to guide me in the development of the project…
-
-3
votes1
answer47
viewsI need to remove this circular border that the background-color I inserted is leaving around the icon, does anyone know how to do?
HTML: <div class="contato"> <a target="blank" href=""><img src="/icones/instagram.png" alt=""></a> <a target="blank" href=""><img src="/icones/whatsapp.png"…
-
-3
votes1
answer165
viewsDoubt about SEO. H1 in the header and article?
I was giving a study on putting together a page with structure prepared for SEO. I saw some video and it made me doubt: Inside my <body>, have: <header> with H1; <main>…
-
-3
votes1
answer53
views<input>: "required" is not set, yet the completion is required
I have an input type url within a form, and I have not set the "required" attribute of it, and even then field completion is being required. I also tried: required="false" and required=false, and…
-
-3
votes2
answers78
viewsAlign menu icons inside a <li>
I’m not getting to align icons to the right of my menus. For some reason they appear below where they should be. Below is the code to understand the problem. And here jsfiddle. I’m a beginner in the…
-
-3
votes1
answer162
viewsDelete table row with pure Javascript
I have a table and I want to delete her lines, but I also want to prevent the first line from being deleted, I was able to make the code but it excludes besides the other lines, the first also js…
-
-3
votes2
answers166
viewsHow do I check for registration in php?
$nome_cad = $_POST["nome_ent_c"]; $cpf_cad = $_POST["cpf_ent_c"]; $tel_cad = $_POST["tel_ent_c"]; $end_cad = $_POST["end_ent_c"]; $invite_cad = $_POST["cod_convite"]; $codgerado =…
-
-3
votes1
answer149
viewsHow to make a field type inside another? Javascript
I’ve been trying to make whatever I type appear inside another input, but I couldn’t. The point is I got this code here, it runs and it works right, but in my real code it doesn’t run.…
-
-3
votes1
answer72
viewsHelp with HTML and CSS site menu
I want to put a logo in place of the red rectangle,. body { border: 0px; margin: 0px; padding: 0px; font-family: 'Roboto', sans-serif; } #menu { background-color: #483D8B; padding: 5px; } #menu ul {…
-
-3
votes1
answer58
viewsSuperimpose one <div> to the other keeping them aligned to a third <div>
Hello I have a problem to align overlay two images. There are two images A and B, and B should be on top of A and both aligned at the bottom of another div that is in the center of the page. I’ll…
-
-3
votes2
answers498
viewsDo you have an HTML command that leaves one way on your phone and another on your computer? And do you also have a universal code for the size of the elements?
I’m creating an HTML page for someone special, I believe this person will open the page on mobile, however, my page appears in two different ways on computer and mobile. On the computer she appears…
-
-3
votes1
answer102
viewsHow to decrease margin between links with flexbox
Hi I’m trying to decrease distance between links and change side this hamburger icone. I’ve tried the most I could was a space-aroud on ul on mobile, JS is font-awesome. If anyone can take a look *{…
-
-3
votes1
answer35
viewsI would like to know how to apply an edge to the element by means of javascript
function domingo(){ var domingo= document.getElementById("domingoid"); alert(domingo) } <div class="btn" id="domingoid"…