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
-
2
votes1
answer240
viewsChange div CSS with click
I’m trying to create a portfolio, his idea is that by clicking on Banner, the Logos disappears and if you click on Logos again, it re-appears and the Banner goes away. In this case, by clicking 1 of…
-
2
votes1
answer580
viewsDeleting records marked with checkbox
I wish I could delete multiple records from a table just by selecting the records using the checkbox, Like Gmail, I select the emails I want to delete or mark as read. Because when I need to delete…
-
2
votes1
answer183
viewsSelect with PDO and SQL barring HTML
I am trying to make a Select with PDO and MYSQL, but when I put php code in the middle of my html it does not allow the execution of the rest of the page. follows the code excerpt: <select…
-
2
votes1
answer941
viewsHow can I divide the plots, adding only exact values for each plot, and a plot will be with an extra value?
Example: The division of 100 (input value) by 3 (number of plots) is equal to 33.33, where 3 * 33.33 = 99.99. Being that the right is a portion with the value 33.34. Java code public void parcelar()…
-
2
votes1
answer68
viewsChecklist: with CSS only
I have a list with 2 items per line and I need each item to be of one color. However, the bottom item has to be different than the top item. Follow the image of what I need: I am unable to make this…
-
2
votes1
answer908
viewsoverlay text in background
How do I put half the text on top of the blue background? .event_background { background: #bdecef; } .flexbox_grid { display: flex; } .flexbox_event_image { width: 70.0%; margin: 1%; }…
-
2
votes1
answer408
viewsCreating a SELECT based on another SELECT
I am using a SELECT that automatically updates the page after it is selected. I created another SELECT to work based on the previous SELECT, however, although I see the right amount of registration,…
-
2
votes2
answers412
viewsHow can I style the <select> arrow in Firefox?
I have this little problem. I have a layout that needs to be exactly as they passed me, within them the definitions of the type text and select. In Google Chrome, everything worked beautifully,…
-
2
votes1
answer1253
viewsHow to place the bootstrap table on a background image?
I’m doing a lineup of teams using the bootstrap, where each registered match, a new row is generated with the data, the problem is that the table is not on the background image. Table does not…
-
2
votes1
answer250
viewsCSS options menu
Good morning, I need to create a menu in the right corner equal to the example, but I’m not getting... when I click my button it is necessary to open the menu on top of the button without leaving…
-
2
votes1
answer50
viewsSimple CSS alignment problem
I’m 3 hours away from this simple problem, first course work. I’d like to leave it at that: #conteudo{ background-color: #F5F5F6; position: absolute; width: 80%; top: 20%; right: 10%; } .bloco{…
-
2
votes2
answers376
viewsIs it possible to concatenate a jQuery selector with a variable?
I have the following code inside a javascript function that is inside a page . php: if (indice_da_aba == -1) { window.alert('não existe ABAS AINDA'); } else if (indice_da_aba == 0) {…
-
2
votes2
answers227
viewsProblem to load image in specific hosting
Someone uses the company’s hosting service 000webhost to do tests ? I am facing a problem with images that are not loading, the 'folder' is there and the 'image' is there with the correct names but…
-
2
votes1
answer39
viewsHide content and change size of other
What I intend and the following is that when hiding the id="content1" div the other div increase to col-lg-12 what I have is the following code: <div class="row"> <div class="col-lg-6"…
-
2
votes1
answer900
viewsAdaptive border according to text size
What is the correct way to do this is the border below the text? I am currently doing it this way, but if the text is too large and breaks to the bottom line the border does not adapt to the size…
-
2
votes0
answers46
viewsError reading HTM file for HTML conversion to JSON file
In this Topic I created Been asked how to download zip file from Box server and unzip it on my hosting service which occurs perfectly. After the previous events described, I want to read the html,…
-
2
votes3
answers1992
viewshow do I get the scrollbars out of my iframe via css?
I’m doing an exercise to hide the scrollbars of the iframe but something went wrong! again !!! function mudaFoto (foto) { document.getElementById("icone").src=foto; } @charset"UTF-8";…
-
2
votes1
answer575
viewsHow do I display table data (HTML) from a database through JSON Express?
Hello! I would like to know a way to present to the user in an HTML table, data stored in a MYSQL Database with connection through JSON Express. const express = require('express'); const app =…
-
2
votes1
answer1061
viewsChange src attribute of an image when uploading via file type input
Eae you guys, blz? I need a code that when uploading an image via file type input it is displayed in a type of "preview". What I got so far is this: HTML: <div class="card"> <img…
-
2
votes1
answer105
viewsApi for file organization similar to tree structure
I am developing a meeting module, which contains management of staves, the staves are organized as follows: 1. pauta c 1.1.pauta x 2. pauta v 2.1. pauta b 2.1.1. pauta y Each staff of this is a…
-
2
votes2
answers308
viewsDiv alignment
I own a table that is built dynamically with the information of a film director. And I need to change the structure to a div, mainly for the issue of responsibility, today by reducing the size of…
-
2
votes1
answer75
viewsSelect Child after using querySelectorAll
I’m looking to change some attributes within the fields: ul > li. In case I change the.url and img.src, however I am using a for to change the fields is using in the mode artistSimimarChild[i]…
-
2
votes2
answers54
viewsHTML form values are not varying within while PHP
Well, I made an extract that selects the DB data and prints them on the screen through while, which is generating the correct values, but now I’m trying to create an edit button that opens a popup…
-
2
votes1
answer294
viewsSelect for card expiration
I wanted to make two fields select one for the month and one for the year to use as expiration dates of a card, but wanted it to be generated dynamically and that when selecting the year 2017 for…
-
2
votes2
answers39
viewsLack of security page registration
Guys, I have a question about security. I made a form, to register users, until then ok. But for example, this form has an action, which is for the same page in the case. If a person creates a page…
-
2
votes1
answer52
viewsSearching for the next table after a clicked element
Hello, I’m trying to fill the next table closer to the clicked button, but I’m not getting. It is important that it be the next one right after, because there are several tables with the same class,…
-
2
votes3
answers548
viewsCalling an HTML file inside a Lightbox modal
The case is as follows: I use the Modal Lightbox for an image gallery, in the index I have the Thumbs and when clicking opens the modal with the image maximized. Due to the amount of images it takes…
-
2
votes2
answers119
viewsIframe does not support the "resize:" property in Mozilla Firefox
I have a function that arrow the WYSIHTML5 plugin in a textarea, this plugin migrates the textarea to an iframe: <iframe class="wysihtml5-sandbox" security="restricted" allowtransparency="true"…
-
2
votes1
answer57
viewsAjax sending _POST without maximum character
In this ajax the post sends more than 1000 characters: $.ajax({ url: 'inserir.php', type: 'POST', data: { inseason: document.getElementById('comment').value }, success: function(result) { alert('the…
-
2
votes1
answer377
viewsPaging without php and mysql
I’m trying to make a simple pagination, just click on the "2" button for example and it happens. I tried to use this, but I couldn’t: https://esimakin.github.io/twbs-pagination/ Could anyone help me…
-
2
votes1
answer47
viewsHow to apply the Hover (Jquery) effect to a specific group of classes?
I’m creating a web page that would be something like a store. The idea of this code is that, by giving it to the div. lojaprodutos, appear two other Divs (one on the right and one below), and this…
-
2
votes1
answer126
viewsGet Rendered External HTML Code
I am mounting a PDF and in this PDF I have to put a graphic that is being made by Highcharts. I created an HTML and JS code by mounting the graph and it is creating it right, the problem is that I…
-
2
votes2
answers7004
viewsCustomize option of select
People I’m trying to personalize options of select but the colors of Hover don’t change always turn blue. Follow the code .personalizar-select{ border: 1px solid red; } .personalizar-option{ border:…
-
2
votes2
answers2192
viewsHow to send multiple values with inputs of the same name
The problem is this, I have an html table that is filled inside a while in a BD query, in this table some fields are inputs and I need to insert the data entered in this input in my BD. I was…
-
2
votes1
answer76
viewsCheckbox gets bugged MARK ALL -WITHDRAW SELECTION -Special case;
Hello guys my goal is to mark and uncheck checkboxs until then all right look at print: I press to select all and the script selects ALL I click to uncheck it unchecks ALL until then all right. The…
-
2
votes1
answer594
viewsHTML and CSS - Center Tabs in the center of the page
It’s a Newbie question, but I’m having a hard time. I have 3 tabs that are like this: But I’d like you to stay in the center like this: Also instead of text, I would like to place images. My CSS for…
-
2
votes2
answers30696
viewsJavascript + HTML calculator
I have to do a Javascript calculator for class, and I’m facing several errors. I wanted to do that first write the number 1 and without following choose which operation to do, after the chosen…
-
2
votes1
answer244
viewsHow to turn list into responsivel menu?
I’m having a hard time turning the list below into a responsive menu, something like Bootstrap’s responsivel navbar. I want to maintain the current style of the menu, but that it behaves like the…
-
2
votes1
answer1285
viewsAlignment of vertical text
hello, I’m trying to align a text vertically, but the code is not working. It is divided into 2 columns and the column with the image is larger the text is at the top html: <div class="col-md-12"…
-
2
votes3
answers108
viewsDecrease the lines of code by maintaining the function of getElementByID?
Is there any way to eliminate these numerous lines of code keeping the same function? (the function would be to Keep the content of textarea hidden until the check-box be selected and keep it only…
-
2
votes2
answers1446
viewsmaskMoney does not work on input within table
Here I call the mask wearing class $(function($){ $(".dinheiro").maskMoney(); }); in form inputs works normal, but in table does not work. function addProd(obj) { $('#add_prod').val(''); var id =…
-
2
votes3
answers930
viewsEmail Submission Form - Classic Asp
I need help with e-mailing from a form on html. The form is already ready and I had a code PHP that made this upload, however the client’s server is not accepting the code PHP and I need to change…
-
2
votes1
answer87
viewsPagination at the end of the page
I have a system in which shows 8 data per page, my problem and that when pagination has only one data on the page or 2 is on the data side, like: data 1 - data 2 - Page 1, I wanted it to be at the…
-
2
votes1
answer54
viewsHow to create elements of a typehead in a div
I need to develop an input that returns information from the database, but this information has to be visible in a div on the right side of the page I tried a lot of things, but I got nothing. My…
-
2
votes3
answers4833
viewsDecrease size Bootstrap field
I want to reduce the size of the field but I’m not getting any help? follows a print <div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback"> <div class="container"> <div…
-
2
votes3
answers7594
viewsHow to align content in <td>?
How do I align the content of <td> inside my table? I know that to align horizontally I use text-align: center; //text-aling está errado. I want it to look like Teste and Armas. <table…
-
2
votes0
answers151
viewsHow to put CSS correctly in a rendered SVG in the view via the use tag?
I’m using Angularjs to load an element, but it doesn’t take CSS. A View: <svg version="1.1" id="body_1" data-name="body-1" xmlns="http://www.w3.org/2000/svg"…
-
2
votes1
answer117
viewsadded text with append does not respect div
I have a list that your elements are added with the jquery append and the added text does not respect div and list boundaries: css: #list_arquivos{ list-style:none; } #list_arquivos .arquivo{…
-
2
votes1
answer124
viewsHow to specify a CSS property in a single element for a repeating class?
I have a Wordpress site. In the theme, I need to customize the height of a single div class image_wrapper, but when I make the change, it reflects on the other divs of the same class spread by the…
-
2
votes1
answer484
viewsHow to focus input from a form constantly?
I have a form and need to focus on an input again until it satisfies the required, example: $('#text1').blur(function() { var teste = $('#text1').val().length; console.log(teste); if(teste > 5){…