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
-
0
votes2
answers2473
viewsHow to align an image to the right with in CSS and HTML?
@charset="UTF-8"; @import url('https://fonts.googleapis.com/css?family=Krub'); @import url('https://fonts.googleapis.com/css?family=Varela+Round'); /* CSS Document */ header { width:1900px;…
-
0
votes1
answer53
viewsForeach jquery concatenate in table
I have a AJAX that in the success brings a response: $(response).each(function(i) { alert(response[i]); $('#tbody').html( "<tr>" + "<td>" + response[i].id + "</td>" + "<td>"…
-
0
votes1
answer88
viewsJquery, exchanging images by clicking
Guys I have code here and when I click on the image it changes the text , when you click on the bottom, it changes the text but I need that when you click on the image,that activates the function of…
-
0
votes1
answer33
views -
0
votes1
answer96
viewsUse the select tag to change the content of the page?
I’m starting to use Javascript and would like to know how I can use the select so that according to the language chosen, the page show me a different return (its characteristics).…
-
0
votes1
answer194
viewshelp with shipping confirmation form and popup
hello good need help I am trying to make contact form to then receive in the email and wanted to appear a popup instead of page to confirm sending can help me **mail.php** <?php if…
-
0
votes1
answer184
views -
0
votes2
answers258
viewsHow do I display HTML and CSS elements in PHP at a specific access level
I am making a page, using PHP I entered an access level to it. The access levels are user and admin. Just that I want when the access level is admin a button appears and when it is user does not…
-
0
votes1
answer140
viewsHide information with javascript [DOUBT]
I am creating a simple HTML page and I separated the page into two vertically, so this way in the part that is in blue would the logo and the info of the tool (I have not yet done). When I click on…
-
0
votes1
answer533
viewsScroll bar in HTML
Good morning I would like to put a horizontal scroll bar in my html code because it does not appear on the page, as I can do, follow my code.... <ui:define name="conteudo"> <!-- Main…
-
0
votes2
answers454
viewsSubmit being called twice
I have a form where I need to intercept the event submit, cancel it and via Ajax, perform the required request. However, even using the preventDefault(); and return false; the submit is being…
-
0
votes0
answers214
viewsUpload FTP - PHP Progress Bar
I have a code ready here, with upload to database and to a local folder that has a javascript progress bar, but what I wanted was to use this progress bar to upload to a folder on an FTP and also to…
-
0
votes1
answer342
viewsHelp with Responsive iframe formatting
Hello I need help I have a google form that I want to put on a page with the format of 1280*800 and the problem and that does not occupy the page completely hides always or at the end of the form or…
-
0
votes1
answer360
viewsHow do I let div overlap the other div?
How do I leave the div #inner-block in the foreground? #block-1 { position: absolute; width: 200px; height: 200px; top: 10px; left: 10px; background-color: #999; z-index: 1; } #inner-block {…
-
0
votes1
answer45
viewsModal Boostrap is not displayed
I have a form that I am trying to implement a modal that confirms the Ubmit of this form, but it only appears when I do not enter the required fields, if I type the required fields it goes straight…
-
0
votes1
answer67
viewsIntegrar Javascript
I have a questionnaire where the user will answer x questions and will receive a reply at the end, when you click the button "answer". I made the first version where everything is working, except…
-
0
votes0
answers44
viewsAlignment of elements per line
I’m trying to align the elements, but without success. The idea is to limit per line only 8 elements, besides not happening that, still keeps returning error: Misaligned elements: Codes: Html:…
-
0
votes1
answer1945
viewsPaging with Vue.Js
I created a component that does the paging and takes the items sent by the server that are already paginated in 5 per page. The next button works correctly bringing all pages, but the pagination…
-
0
votes0
answers85
viewsHide select option when it is equal to the option already chosen
I have a select that has two options: Size, Color. When I select Size, when I click again on my select, it still shows the Size option. I would like to remove it and make available only the other,…
-
0
votes1
answer532
viewsOnly render my widget if it is not empty with *ngIf
I have the following variable: listAtributos: any[] = []; In my template I want to check if it is empty, if it is, do not show the content, if there is something inside it, show the contents of the…
-
0
votes0
answers62
viewsHow to take variable script and insert into a php database?
I have a select field according to the code below: <select id="teste"> <option>oie</option> <option>tchau</option> I have a knob to run an Insert in the database…
-
0
votes1
answer4074
viewsUncaught Typeerror: Cannot read Property 'toLowerCase' of Undefined
I try to take the values of a table and filter them, but for some reason the rescued values are in Undefined and I have no idea how to solve <?php include_once("conexao.php"); if…
-
0
votes1
answer144
viewsTake Select Option and multi-line Checkbox values
I need to make a list of employees who are linked to cost centers and I need to tell you if this employee is leadership within this cost center. I tried to mount a select and an added checkbox by…
-
0
votes1
answer382
viewsHandling date and time in PHP
I have a question. I would like to know how I can do so that the php code stores the time I registered an activity, but it should be hidden in the form and only visible when this data is visible in…
-
0
votes0
answers684
viewsHow to remove an index from localStorage
I need to make a manipulation of localStorage and I don’t know how to remove an item from an index. I’m very beginner in the subject and I don’t know how to pass this information to the button.…
-
0
votes1
answer66
viewsHow to remove PHP Randomization encryption
I have a code but every time when updating the page it generates a random encryption key, I would like to know how to leave it to generate a unique key for each url, below follows the code: $gKey =…
-
0
votes1
answer198
viewsLocal variable inside an ngFor
I have an input text inside an ngFor and would like to define a dynamic local variable that has a unique id value for each input, so that I can perform the . Focus() of this input, but I don’t know…
-
0
votes0
answers115
viewsCHANGE BACKGROUND WITH INPUT TYPE FILE
Good afternoon, I created a program to create commands and would like to use imput type File to select an image and set as the background of these commands. HTML <!DOCTYPE html> <html…
-
0
votes2
answers150
viewsHow to pick up a form and send it to e-mail?
I need to send a form from an email, I’ve researched a lot, but nothing explains exactly what each line does, and if there has to be some server online, or if with the site to test, I’ll leave my…
-
0
votes1
answer62
viewsLimiting Array via POST
Guys, I was picking up on my code always giving offset error and things like that, when I discovered that somehow my array is not coming complete. I have a form, where it is fed according to the…
-
0
votes1
answer122
viewsHow to transfer data from one function to another?
The initial idea of my personal project was to develop a basic system to carry out the payment division between n customers who consumed n products, in order to train my skills. For this, the…
-
0
votes0
answers22
viewsHow to pick up and display PHP deselected checkbox data
I have a table where a column consists of checkbox. In the future, the status of these checks will be saved in a database for automatic loading, but at the moment, for the purpose of testing and…
-
0
votes2
answers905
viewsShow success message without leaving the page
I have a form that sends some data to the database and uploads it to an FTP, the bank part has a if which returns the error in a variable and shows the error in the form itself. But my question is…
-
0
votes1
answer114
viewsProblem changing background color
Even adding body{background-color:#CCCACC;} in the CSS the background still white. @import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css); @import…
-
0
votes1
answer63
viewsUpdate of each row of a table through a dropdown constructed by an associative matrix
I intend to create a table where one of the fields is of the drop down type, consisting of the key values of an associative matrix and according to the key chosen, a second column is automatically…
-
0
votes1
answer135
viewsHow to prevent a link from working on a child element? (jQuery)
Imagine the following code below: <a id="link" href="/nova_pagina.php"> <div id="abrir-nova-pagina" >Linha_1</div> <div id="nao-abrir-nova-pagina" >Linha_2</div>…
-
0
votes0
answers119
viewsProblems using the camera on mobile or tablet
Good afternoon. I made a code that takes photo using webcam or camera phone on desktop and android works and on iphone the screen gets black. follows my Cod html <div class="demo-container">…
-
0
votes1
answer67
viewsSelect checbox automatically
I have created a calendar for meal appointments. The date and meal types are being saved in the same column of the database table. When I place the amount of meals automatically selects the checkbox…
-
0
votes0
answers57
viewsIncrease, Decrease and Print Button
I’m using the bootstrap and by default the font is 1rem when I click the print button it doesn’t take the standard document size it takes a very small font, to mount the increase and decrease font…
-
0
votes1
answer126
viewsFloat ignores the margin
I want to line up a div to the right, but keep the margins as they were imposed, only he ignores them and stays out of the div box. I think with this picture you can see better .answer {margin: 20px…
-
0
votes0
answers34
viewsMulti-form validation Jquery
I set up a form, where I have a SELECT with three options and when selecting them, the jquery displays different form options, with their respective contents (they are three Divs with class "Hide"…
-
0
votes1
answer61
viewsHelp with PHP (passing data from one screen to another)
I have a question in this part of php with data passing from one screen to another. I want to bring the database resolve data in php and generate a PDF for the user to check or download it. On a…
-
0
votes1
answer284
viewsPHP Mysql error - mysql_num_rows()
I’m having trouble correcting this error, I don’t know much about language (almost anything). The error that appears on the page is this: Warning: mysql_num_rows() expects parameter 1 to be…
-
0
votes1
answer117
viewsinput password in css does not work
I use the same CSS code for both the input "text" and the password, but for one it works and for the other it doesn’t:(see photo) Code in CSS #contact input[type="text"], #contact…
-
0
votes1
answer74
viewsChange inputfile label when you already have an Angular selected file
I have the following input file that uploads an image and turns to Base64: <div class="image-upload"> <img class="fotoAnimal" [src]="imageSrc" style="max-width:300px;max-height:300px"/>…
-
0
votes0
answers28
viewsHelp with My Custom Posting Template
i created a custom posting template and wanted to improve it as follows he is currently so I wanted to leave you like this with option to click and change between the "requirements" and the…
-
0
votes1
answer117
viewsPut description in image with Hover
I’d like to do this Hover effect image of this site, but I’m not getting $('.img').on('mouseover', function(e) { $(this).css({ 'opacity': '0.5' }); $('.hiddenDiv').css({ 'display': 'block' }); });…
-
0
votes2
answers80
viewsAm I resizing and setting the HTML page "correctly"?
I have a question that kills me when it comes to creating websites, I made a quick example here, after doing some research and none of it makes me doubt, I’m not sure I’m on the right track, but I…
-
0
votes4
answers856
viewsReturn message to the registration screen
Guys, I’m a beginner in PHP and I need a help. I have a.html register that has some fields that calls the.php register that inserts the data into the database and shows the message whether it was…
-
0
votes0
answers40
viewsError generating date range with js
I have the following code to take a date range and send it to my PHP function (which is ok now): function calcular(){ var quantidade = document.getElementById('qnt').value; var inicio =…