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
answer2072
viewsWhen pinning menu at the top after scroll, everything below moves
Whoa, guys, first I’ll explain what I’m gonna do. I want you to when using scroll and going through my menu, it gets fixed at the top. My site will have the menu in this style EXAMPLE SITE, an…
-
1
votes1
answer140
viewsDynamic change of meta viewport tag
It is possible to change the viewport of a page and have immediate effect without having to update it? Supposing I have the following viewport on the page to display on mobile devices (smartphones…
-
1
votes2
answers70
viewsfind input value does not work
I have a list that incremented dynamically with the jquery append, the list goes like this: $("#questoes").append( '<li class="questao" data-id="'+questao+'">'+ '<div class="row…
-
1
votes2
answers57
viewsInformation is not enough in the value attribute
The information that I take from the user model (getTimeLine method) reaches the homeController, but does not reach the homeView in the input type Hidden in the value attribute. public function…
-
1
votes0
answers19
viewsHow to put Collapsible List Group in ajax?
I’m willing to put tabs for when the person touches the category open a list of products, but I’m not getting[![ $(document).on("click","btnMesa1",function(evt) { $.ajax({ type:"get",…
-
1
votes1
answer594
viewsIs there any way to put Scroll on TBODY?
I have a table where the amount of items listed on TBODY is quite large and I would like to add a scroll, setting the maximum size of the TBODY at 500px. I tried to do this, but it didn’t work (I’m…
-
1
votes1
answer344
viewsHow to make this menu open with a smooth animation? com css, html, js
I’m putting together a responsive menu. It uses jquery only to insert and remove a class from the div with id="social-menu-items" which makes the menu disappear and appear. <!DOCTYPE html>…
-
1
votes1
answer2919
viewsPut responsive website
Guys good afternoon, next. It is the first time that I am making a website, and in my head I would make the desktop site first to then make the responsive modifications (reduce size of letters,…
-
1
votes1
answer2242
viewsHow can I create an edit button to edit a dynamically created table in Java
<!DOCTYPE html> <html> <head> <title>Tabela dinamica</title> <link rel="stylesheet" type="text/css" href="css/css.css"> </head> <body> <form…
-
1
votes1
answer25
viewsMedia Queries messing up the site
Guys, next. I already own 4 CSS that make the necessary adjustments on my website. (unfortunately I started from biggest to smallest since I didn’t know it was good to have started from mobile). My…
-
1
votes2
answers427
viewsHow to give a disabled in a form depending on which radio button to choose?
Good afternoon... I have the following radio Buttons: <input type="radio" name="radio1" value="entrada"> Entrada <input type="radio" name="radio1" value="saida"> Saida I also have the…
-
1
votes0
answers45
viewsCan you handle the Submit form Event with jquery to change the values sent to the server?
I have a java server that receives an object including other objects inside the object. I wonder if you can change the Submit in such a way that you can change the structure allowing you to put a…
-
1
votes1
answer201
viewsHow to style various elements with different styles in the Hover
I have a div with several links, like this: Where in the hover of div (wrapper) did only underline the bold text (title) but when doing hover in tags underlined the respective tag and did not…
-
1
votes1
answer116
viewsWhy does each browser interpret/format a poorly formatted HTML differently than the others?
This week I came across a bug on a system. This system was developed in Asp Web Forms and on a given page has a input that’s like hidden. While performing a Post I realized that in Chrome and…
-
1
votes0
answers50
viewsApache open from an . html file to another . html in another directory
I’m using Apache to remotely access an html page, I replaced the file index.html that is in the folder /var/www/html for a file of mine that asks for an authentication and redirects the page to…
-
1
votes1
answer1039
viewsPass variable value through a button
There is a way to pass the value of a variable recovered from a database search to a button, which will redirect the user to another page, where a new database search will be done using the variable…
-
1
votes1
answer870
viewsTaking multiple equal input values and storing in an array with Javascript/jQuery
I got this div, that’s <div class='pergunta'>, inside of her I have <input type='text'> <select></select> <input type='checkbox'> The point is that this entire div can…
-
1
votes2
answers151
viewsProblems with bootstrap grid system
Guys, I’m having a problem with the bootstrap grid system, I don’t know why, but when I resize the site to the size of a device, it doesn’t fit properly.. Any suggestion? HTML: <html…
-
1
votes0
answers819
viewsEdit button, delete in a list made in HTML?
I know that it is much easier to use framesworks and specific technologies for web development like Angular.JS, ZEND, Java EE, etc. But I am developing a CRUD system using the minimum of…
-
1
votes1
answer71
viewsText fields (textarea, text, etc.) do not show the mouse pointer or typed text
Good night, you guys! I am developing an environment for creating questionnaires and, at the time of collecting data on the questions, I have a form for each type of question, which is selected by a…
-
1
votes1
answer70
viewsDiv tags occupying the same space?
I have the code below that shows the <div> only when a particular option of the former is chosen <select>, but it leaves a giant space on the page due to the fact that it has the tags…
htmlasked 7 years, 6 months ago Arthur Oliveira 147 -
1
votes1
answer1735
viewsScroll does not work in the bootstrap modal
I have a modal with an image on the left and several comments on the right, but on the right I wish there was a scroll as the comments did not fit in the modal. Then I have this Row with several…
-
1
votes2
answers521
viewsReset html x reset javascript efficiency
I was creating a button to clear form, and I came across the function of HTML type='reset' but I was used to using Javascript for this to occur. Therefore wanted to ask for help to understand what…
-
1
votes1
answer133
viewsHow to activate animation of the SVG drawing when arriving in his div?
I put a file in SVG to have an animation as if creating it in lines (unfortunately in the example below is not working, but in my file is.) With this code below, as soon as I enter the page, the…
-
1
votes1
answer500
viewsChange background image without fade
Good afternoon, in a site I’m creating has this image as "background image" in a div. I’m trying to make some of the windows in the buildings blink, to have a nice effect, animation in the…
-
1
votes1
answer35
viewsHow to select one radio through another?
Let’s say I have 3 inputs of type 'radio' (A,B,C) and I have two other 'radio' (X,Z) At first the radios X,Z will be disabled and can only be self-selected if the radio B or C are clicked, and if I…
-
1
votes1
answer962
viewsHow to create an array of data from an html table?
I need to input the data from table html in a array. The current scenario doesn’t allow me to add class or id for the tags <td> (which would make me much easier), later I started the code…
-
1
votes1
answer507
viewschange class label according to text
Guys someone could help me with this js please? I need the label to change according to the text, if it is "victory" is Success and is "defeat" is Danger, follow code below: notes my…
-
1
votes1
answer253
viewsUpdate database
So I have a modal that shows the data of the number that was searched, I want that when clicking the button edit of the modal release the inputs: work, rca and region to be able to write inside…
-
1
votes1
answer69
viewsForm sending null values
I have this small form that should send the data filled in it to the page "cad_real_qm.php". However, I have a javascript function that checks if some fields are null and if so, will issue an alert.…
-
1
votes1
answer338
viewsCapture the value of the selected item in selectOneRadio with Javascript
I have this Primefaces component: <p:selectOneRadio id="mercado" styleClass="teste"> <f:selectItem itemLabel="Interno" itemValue="I"/> <f:selectItem itemLabel="Externo"…
-
1
votes2
answers512
viewsUpdate modal database
I made a code that updates the data entered by the user in the database, however, it is giving the message that the data has been updated, but does not update anything. The system works as a search.…
-
1
votes2
answers73
viewsGenerating id in input through foreach
I’m having trouble generating a number in each input id. I need to display 4 images, and saved their name in the bank separating by comma, then exploded to display them in foreach. $array =…
-
1
votes0
answers265
viewsError selecting date focused on bootstrap datepicker
I’m using the bootstrap datepicker version 2.0. // Expected behaviour When you type a day it is focused on the calendar so, when you click on this day in focus, you must fill in the date. // Actual…
-
1
votes1
answer1730
viewsHow to tab a PHP echo?
I have the following code that generates a code of a insert automatic for me. My system is a kind of generator querys I’m just passing the parameters. I pass the parameters on a page and give the…
-
1
votes3
answers3838
viewsValidate an HTML form with JAVASCRIPT
What would be a way to validate the text field as soon as the button is clicked? Using only Javascript. Ex: If the field is not completed, and the user to click the button it emits an alert and…
-
1
votes1
answer58
viewsScript to remove readonly
I have a user registration system and a page where I show all registered users. I display 8 users per page - each user has the option to click an anchor Info which details the user. In these details…
-
1
votes3
answers1204
viewsImage in src goes to background-image and does not resize
I’m putting together a project for a friend of mine and I’m using the scrollfullpage that splits the page into parts. In the first part I’m putting a banner and a written with my friend’s logo. The…
-
1
votes3
answers704
viewsBackground image
I’m developing HTML marketing emails, but I’m having problems in the footer, where there is a background url and in the mobile version it defaults: my code: .background-gray2-no-padding {…
-
1
votes1
answer2335
viewsTake images from a javascript folder and display on a Slide
Hello! I have a slide that works normally. Only I have to keep passing him the link of each image. What I wanted to do is put a path from a folder so it can identify the png or jpg files and…
-
1
votes1
answer500
viewsInsert a query variable and display data in an already active Modal in PHP
I am new in PHP and I came across the following situation: I have a Modal, which automatically loads the data of a predefined query and is working! What I need to implement: Enter a variable and…
-
1
votes1
answer326
viewsWaves effect materializes
I’m testing some components of the materialize, because I’m a beginner. I noticed that the effect of the "Waves-Effect Waves-light" class is not working. I wanted to know what is happening, I tried…
-
1
votes1
answer1615
viewsHow to change Chart.js display c,
I am learning to work chartsjs bring date, with value January with 10 clients, the scale is 0.5, 1.0,1.5,2.0 I would like to deichar with 1,2,3,4,... there is no half client…
-
1
votes1
answer1241
viewsGithub Pages failing to load resources with error 404
I tried to move up a project I had done some time ago, and using the Github pages to play online, I find it difficult to render. The files he can’t load are all in repository, I don’t understand the…
-
1
votes2
answers817
viewscalculate input values with the same class
I need to do a real-time calculation with Divs with the same class inserting the result into another. The code I’m trying to develop is in the link below var qtde_inputs = $('.quant').value; var…
-
1
votes4
answers1486
viewsCalculate inputs with Javascript
I need to get the +index work as it is a page generation system with embedded products. In case, every product inserted will have a total0 + total1 and so on. But it has to be in real time the…
-
1
votes1
answer1034
viewsDropdown does not fit the screen
Hello, I’m starting my migration to Bootstrap 4 and I’m trying to make a dropdown aligned on the startling right of the layout. The problem is that by clicking on the menu it does not adjust the…
-
1
votes2
answers35
viewsSelect does not select the correct value
I have the following problem: <select name="cargo" id="selectCargo" class="form-control show-tick maiuscula" required > <option value="">ESCOLHA A EMPRESA</option> <c:forEach…
-
1
votes2
answers1876
viewsHow to take the value of a TD?
I tried several ways (SEVERAL SAME) but did not succeed! Most return me one UNDEFINED Follows the code: PHP: <?php require_once('acessabanco.php'); $objDb = new db(); $link =…
-
1
votes1
answer461
viewsJavascript function triggered after clicking div and save data in the database
I wanted to know if you can put a javascript function after clicking and dragging a div (better still: after "drop" the div). I intend to make a code so that every time I move the div to a table…