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
-
1
votes1
answer32
viewsAdd a div in the middle of an image
I have been studying Parallax, with ideas to use in future projects but I have a problem that left me stuck. I leave down my test example: body, html { height: 100%; } .parallax { /* The image used…
-
1
votes3
answers1528
viewsFormat search field with CSS button
I want to format the button that is on the side of the search field like this: But I’m not getting it: HTML: <div class="col-6 col-md-4"> <div class="busca"> <input type="text"…
-
1
votes1
answer63
viewsHow to store span tag texts in a jquery/javascript array?
I need to get the text that is contained between the tags span. That’s the structure I’m running through: <table> <thead> </thead> <tbody> <tr> <td colspan="9"…
-
1
votes2
answers107
viewsI can’t add value in Array
I want to add the name typed at the prompt in an array and displays the names in a table but when adding it displays the null value in the table. var nomes=[]; var indice=[]; var i=1;…
-
1
votes1
answer100
viewsHow to make animation occur multiple times
I have a project that I’ve imported animate.css so that the transitions would be funnier, but one of them only occurs to me once. var check = true; $(document).ready(function(){ $(".p2").hide();…
-
1
votes1
answer12385
viewsDatepicker Bootstrap does not work
I have a bootstrap Datepicker, but when I click on the button next to the text box, that calendar does not appear. I thought it might be some link or script missing, but I always find only the…
-
1
votes1
answer129
viewsjQuery error not visible when migrating code
Well, I have on the following page http://www.hotplateprensas.com.br/estilos/aa2.php The functional script When I migrate to the end of the page: http://www.hotplateprensas.com.br/estilos/index.php…
-
1
votes1
answer40
viewsHow to upload images and display them using jquery?
How do I upload images and display them within a div, and when the user uploads them again these images are replaced. Ex: the user uploads images img1.jpg, img2.jpg if he uploads new images…
-
1
votes1
answer682
views -
1
votes1
answer1732
viewsHow to leave content below the top fixed Bootstrap menu
Hello, my question is the following, I’m trying to put a container-Fluid exactly under a div Fixed-top of Boostrap, where it contains a navbar Menu and a ul, I had to put to leave the two fixed at…
-
1
votes1
answer442
viewsHow to select multiple radios button in the same column of an html table?
I have a table html with 3 columns and 3 rows and when I select, for example radio button of line number 2 the line number 1 unchecks. @if (Model != null && Model.Tabela1!= null &&…
-
1
votes1
answer50
viewsGive Hide or show by clicking another element
I have 4 topics, and I would like to display only what I clicked, and if another one is open close, I know how to do this with jquery, but I’m doing it in a way that I don’t think is the most…
-
1
votes1
answer948
viewsHow to remove white margin from a Carousel (Bootstrap)?
I created a Carousel on my site through the Bootstrap code, and I want it to occupy the entire width of the screen (100vw) and almost the entire height (90vh); therefore, I put in the container…
-
1
votes2
answers50
viewsHow to change the layout of a page without touching the source code?
The code below does the following: When I click the button Show Button another button appears, however, let’s assume that I click F5, the button disappears. What tool could I use to make it not…
-
1
votes1
answer38
viewsmount HTML element with vanilla JS, cannot list all JSON elements
Where is the error in my code? I’m not getting to list all the names each in one <li> different, in my console.log(items[i].name) all JSON names appear, but when creating the html element it…
-
1
votes1
answer272
viewsColorize field select option Chosen
I have a select option field and would like the user to click submit, the system color the field When inspecting the element with Chrome I realized that Chosen put a style display: None and if you…
-
1
votes1
answer405
viewsDependent selects in PHP
I have two selects, being the second select totally dependent on the first. I would like to perform the filter, but I’m not able to visualize a solution. Could someone help me? <!-- Todas as…
-
1
votes1
answer190
viewsFlexbox lets images resize
I am doing the sketch of a project and need to place three images a "line" only. I decided to use the display:flex and the space-around to leave you with a space between them, however they are in…
-
1
votes1
answer92
viewslist-style does not return to default
Well, I’m developing a website, and the following problem has arisen: I reset all elements of the site; *{ color:inherit; font-family:inherit; font-size:inherit; font-weight:inherit;…
-
1
votes1
answer32
viewsResult after update
Hello I would like after an execution in the database return me a value 1, for example I have the function in php: function registrar_pagamento( $pago, $registro ){ require_once…
-
1
votes1
answer94
viewsImage cut when decreasing page width
I am developing a web application in jsp and Servlet and put an image in a bootstrap column <div class="col-11"></div> so I put the image in the center of the screen using themargin-left…
-
1
votes2
answers226
viewsHow to create a tabs menu like Stack Overflow
I would like to know how to have two links as tabs, for example: <a href="#">Abrir Elemento 01</a> <a href="#">Abrir Elemento 02</a> and by clicking on one of these links…
-
1
votes3
answers203
viewsProblem to send PHP data to database
I’m starting with PHP and I’m having trouble sending to the database, unfortunately I can’t find the error, if anyone can help, grateful. The HTML is like this: <form method="post"…
-
1
votes1
answer223
viewsBootstrap menu does not work
I’m developing a web application and I put it in the bootstrap menu link Menu in normal page width but by decreasing the page width the menu does not look like this. Stay like this HTML <div…
-
1
votes1
answer50
viewsCodeigniter like post and show as likes
I’m developing a publishing script, like and excuse, but when I put the option to be liked starts my mistake. SE ( ID_PERFIL = ID_PERFIL e ID_PUBLICACAO= ID_PUBLICACAO ) { CURTIU } SE NAO { CURTIR }…
-
1
votes1
answer1031
viewsLoad pages without refresh by clicking on the menu option
Good evening guys! I’m making a school system, in it will have access levels, menu for each access. I want to do the following, when I click on some option of the side menu, where it is written…
-
1
votes1
answer47
viewsInput the fadeout sound when you click the pause button
How can I make the sound come out in fadeOut when I click pause button? <script> var sounds = [ "sounds/royksopp.mp3", "sounds/9thwonder.mp3", "sounds/thisbeat.mp3", "sounds/mosdef.mp3",…
-
1
votes1
answer413
viewsError in passing value to View in codeigniter
In a simple application. A value is passed to view. However codeigniter reports an error: PHP code: class User extends CI_Controller { public function __construct(){ parent::__construct();…
-
1
votes1
answer76
viewsError in SCROLL function inside Onclick
Good afternoon Guys, a week or so a customer came complaining that the link from his site was not working and I could not understand why, because the site was delivered working, it was a link that…
-
1
votes1
answer160
viewsMisaligned image when page width decreases
This is the resolution of my image in normal page width But by decreasing the page width the image looks like this. I would like the image to be the same size as the 1 small image HTML <div…
-
1
votes1
answer192
viewsHTML error: "There are Multiple root Elements"
I’m uploading a project to VTEX, but when uploading, it accuses a multiple element error: There are Multiple root Elements. Line 3, position 6. All the examples I saw didn’t suit me, someone can…
htmlasked 7 years, 7 months ago Mateus Alcântara 61 -
1
votes0
answers241
viewsInsert Date input today - Angular
I’m maintaining an angular code, but I don’t know much about version 1 of this framework, how do I put today’s date in this input? someone has some idea? <input disabled type="text"…
-
1
votes2
answers5888
viewsAdd button, insert input value inside the form itself
I have a PHP form to register (food) recipes. When filling this form, it is registered in a Mysql database. <form method="POST"> <input type="text" id="receita"> <input type="text"…
-
1
votes1
answer1282
viewsFilter an html table with a button
I have an HTML table for call management <table class="table"> <thead> <tr> <th>Protocolo</th> <th>Problema</th> <th>Situação</th>…
-
1
votes2
answers468
viewsHTML/CSS Element out of place
I don’t know where I’m going wrong, but my footer is in the middle of the page. It’s my future portfolio, so it’s not all going to be final. Other suggestions are welcome. *{ margin: 0; padding: 0;…
-
1
votes3
answers285
viewsGive Hide/Show and show only contents of the clicked item
I want to show/hide the div by clicking on it and hide by clicking on another item, I am only able to hide by clicking on another item, by clicking on it I am not able to hide. Example of how the…
-
1
votes2
answers120
viewsHow do I make the image to be centered on the table
<html> <head> <title> Teste inicial </title> </head> <body> <table style= "width:480" "height:480" border="1"> <tr> …
-
1
votes1
answer1028
viewsHow to display/hide text using an image as a button?
Hi, I’m setting up a small site where I wanted to use various images as button that when clicking each one display a different text, how can I do this? I tested this one but it doesn’t close the…
htmlasked 7 years, 7 months ago Marcelo C. 11 -
1
votes2
answers5707
viewsUsing single option with radio button
I’m not being able to create a single option for radio button selection. When I click on two options, it selects both, when the ideal would be either one or the other. <div><label…
htmlasked 7 years, 7 months ago Webster Moitinho 511 -
1
votes1
answer353
viewsNo effect works CSS
I am developing a web application and I would like to move the mouse the icons change color and not show that line under the icons but the houver doesn’t work. HTML <div class="header-fixed">…
-
1
votes0
answers312
viewsReturn radio button value
Although you have set the field default value to "N" in Mysql, when using radio button in the form, if it is not selected, the record comes as null. How to make the entered record, in which the…
-
1
votes2
answers43
viewsHover is not being displayed correctly
I have a a without link, only for displaying additional information, but it is not being displayed in the correct way. I wanted it to be shown as follows: But it is being shown as follows: Follow…
-
1
votes2
answers1889
viewsOverlay CSS image
I have 2 images, one is a circle and the other is an image with number 360, I need to place this image with number 360 inside the image that is a circle, what is the most correct way to do this? the…
-
1
votes1
answer1508
viewsBootstrap dropdown menu does not work
I am developing a web application and I am using the dropdown menu of bootstrap but it does not work My <head></head> <head> <meta http-equiv="Content-Type" content="text/html;…
-
1
votes1
answer434
viewsWhen can the setSelectionRange method of Htmlinputelement be used?
Studying the structure of an element HTMLInputElement I arrived at the method setSelectionRange, selecting the text from the positions defined by the parameters, i.e. input.setSelectionRange(0, 8)…
-
1
votes2
answers33
viewsImage with link is not opening the page
In my application I created the accesses to social networks of the company I work for. But when I click on the image with link, nothing opens. Follows code: <a href="https://www.facebook.com/"…
-
1
votes1
answer50
viewsDivs fade into a loop?
I have the following code I’d like you to do fadeIn and fadeOut after 3 seconds. I thought to use setInterval to loop and then use a setTimeout to give the time that each div was visible. Is there…
-
1
votes1
answer81
viewsDatatable Page
How do I correctly manipulate the dataTable, paging every 5 seconds? I can even paginate, but when I increment the table it ends up stopping.. <html> <head> <meta…
htmlasked 7 years, 7 months ago Igor Martins 23 -
1
votes1
answer837
viewsDiv fixed to a certain point on the page
I’m developing a website where I have a fixed div, but when I get to a certain point, it accompanies the scroll. An example is the site https://rockcontent.com/ From what I saw, it is a script that…
-
1
votes2
answers1043
views