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
votes2
answers184
viewsChange image src with javascript
I’m trying to make the image change every time I click the button, so that when I click on image1 it becomes image2 and when I click not image2 it becomes image1 <script> function…
-
1
votes1
answer312
viewsFull Slide Bootstrap
Hello, I added a slide Carousel on the site I am developing, and I would like to have width: 100% in my header, but even adding this property does not apply, Can you help me ? This is my index:…
-
1
votes2
answers642
viewsGet TD value by clicking on table
I have a table HTML horizontal, where I want to get the value of TD(time) when clicking on the line. Follow an image to try to illustrate better. By clicking on the line of 07:00 hours for example,…
-
1
votes1
answer3105
viewsHow to make an input increment or decrement numbers with javascript
function Num() { var numero = document.getElementById('num'); numero = 0; document.getElementById('menos').click(function() { numero--; }); document.getElementById('mais').click(function() {…
-
1
votes1
answer60
viewsHow to make optgroup access a page
I have a code and I want it to work as follows: I created a list of options within a optgroup and I want as soon as I click on an option, it go to the page I want. Example: <optgroup>…
-
1
votes3
answers273
viewsNon-responsive footer
I’m making a responsive web system using some bootstrap elements. The whole system is responsive except for the footer that in addition to leaving the fixed position at the bottom of the screen…
-
1
votes2
answers79
viewsGet row item except for one column
Hello! I would like a help regarding the click on a table. When I clicked on the row came the data of this row, except when clicked on a specific column (column 3 for example), because I want to do…
-
1
votes0
answers987
viewsCss How to Leave the Right Side of the Slanted Div?
I have a demand in which I need to leave only one right side of an inclined div, that is, diagonally. How do I achieve this effect? While researching, I saw that I could use the code below to tilt…
-
1
votes1
answer54
viewsError in database connection
I’m doing a project and this with a problem in the database part. I created a form to register on the site, but when you put all the data to register, this information is not passed to the database.…
-
1
votes2
answers45
viewsHow do I increase a CSS property using Js?
I’m needing that every time I press a button, a CSS property increases by 10, example: <style>div { left: 0; }</style> <button>Aumentar left em 10</button>…
-
1
votes0
answers102
viewsI read across the line
I placed 5 li with an image for each link a within the Li. After that, I put one :hover in Li so that the image changed when passing the mouse over, but it turns out that the width this 100%, and I…
-
1
votes1
answer122
views -
1
votes1
answer531
viewsDiv showing content by clicking button
with this doubt I have already researched several codes here but none worked, I have a button in the center of the screen and when clicking I want to show a specific test that is in a div, but what…
-
1
votes1
answer19
viewsContinuous Audio Transmission (Web Radio)
I wanted to make a Web radio on Node.JS + HTML + Javascript only that there are many problems, well, it was supposed to be like a Shoutcast/Icecast server only on Node.JS, and I tried, but it sends…
-
1
votes1
answer240
viewsIf within PHP Field
Good Afternoon, How to Make an if within variable value assignment. $html =' <body> <table width="100%" style="background:#00aeef;"> <tr><td> <table width="596" border="0"…
-
1
votes1
answer16
viewsHow do I deactivate @Editorfor?
I’m doing a project of CRUD in ASP NET MVC in the part of editing the information the team code is being pulled from the bank and is appearing in the @EditorFor and would like to make it so that it…
-
1
votes2
answers304
viewsRemove checked items in the checkbox (Javascript, PHP)
I’m working on a car registration project where I need to change my delete button that was generated for each new vehicle registered by checkbox so that more than one element can be deleted, I…
-
1
votes1
answer411
viewsSet a text file on the server to be read every time you run . html (with embedded Javascript language)
I need the browser to return me pre-registered information of people and their addresses, where each one has two houses on the same street. To do so, I simulated a server in my pc folder, and thus…
-
1
votes1
answer7151
viewsChange input text type=file with filename
I am doing a project in Asp.net MVC 5, and I need the text of my input type 'file' to change to the name of the file when loading it. I hid the input to be triggered by clicking on label in CSS as…
-
1
votes2
answers41
viewsDo not display variable value in the Laravel view
@foreach ($respostas as $resposta) @if($reclamacao->id == $resposta->reclamacao_id) <td>{{$resposta->resposta}}</td> {{$i++}} @endif @endforeach When I run this code snippet,…
-
1
votes1
answer88
viewsError printing HTML with Beautifulsoup
I have a simple code that accesses a quiz site and takes all the ul which contain the class square and prints on screen. url = "http://quizdomilhao.com.br/category/g1" question_page =…
-
1
votes1
answer101
viewsPHP and Mysql Login Validation Problem
I’m a beginner in PHP and I have a problem validating a login with access level. Code Index.php <?php //Inicializado primeira a sessão para posteriormente recuperar valores das variáveis globais.…
-
1
votes1
answer226
viewsButton to return to initial div
I wish that after the last part of the test, it had a close button to go back to the home page, where it has the start test button, tried with the option document.write('<a href="' +…
-
1
votes1
answer524
viewsHow to hide and display a form using a link
I’m with a link and a form that need to work as follows: When I click on the link, the form is visible and with one more click on the link the form is hidden. To classe the link to hide and display…
-
1
votes1
answer335
viewsButton with two value only with html is possible?
You want to put two actions in the value field of a button, using html only. It is possible? My original button: <button type='roll' name='roll_arma1' value='&{template:default} {{name=Ataque…
-
1
votes1
answer39
viewsHow do I copy/select a var in jquery?
I’m trying to copy the contents of var ip, but I can’t. This is my code: $(function(){ $("#ip-server").click(function(){ var ip = 'ip.exemplo.com'; /* <-- Esse é o conteudo que quero copiar */…
-
1
votes0
answers34
viewsI cannot validate registration with Recaptcha using PHP
I am trying to do a recaptcha validation in which the user can only register after responding correct the captcha. but I’m not getting it front end code <?php session_start(); ?> <!DOCTYPE…
-
1
votes0
answers30
viewsRegistration of e-mail templates
I’m building a managerial website where it will have the option of sending email directly from the site itself. The shipping part is ready. I’m now looking for a way to create an email template to…
-
1
votes1
answer404
viewsContact form for PHP
Hello, I created a form in html, but not this functional , why I have little knowledge in PHP, how can I develop the script to send the email to my Hotmail? This is my form <main> <section…
-
1
votes1
answer38
viewsconfigure inputs and label with css
I’m having trouble aligning the label with the radio input, the label is below and the input is above. I’m using html and css. wanted the two of them to be on the same line with the radio input…
-
1
votes1
answer67
viewsCSS file in Laravel
I’m starting a new project in Laravel, following the instructions, but I’m having difficulty accessing my project’s css file. It’s saved in the CSS folder, inside the public folder, and I’m calling…
-
1
votes2
answers356
viewsResponsive Dropdown Menu
I created a responsive menu, I would like to add an action to my button, when it was clicked my menu would appear, the menu is already created, but I still can’t get it to appear with just the…
-
1
votes1
answer35
viewsHow to pass HTML form element parameters directly to the URL
I need to pass information directly to the browser but the result of the code is always returned as https://xxx.com/? cli=value need to return in the URL only the value contained in the input…
-
1
votes1
answer87
viewsSave form in database
I created a system in which there is a form that I want to save in the database and display it in another screen that I am developing but I do not know how to save the form although it receives the…
-
1
votes1
answer38
viewsHow to "set" Focus in an onClick function?
How do I leave an element focused by clicking on it? example At the moment I am making a filter page that has some buttons, but these buttons only work if I double click. (The onClick function…
-
1
votes0
answers20
viewshtaccess does not work
already enabled htaccess in my Apache and even though gave error 500, someone can tell me if the problem is in the code? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
-
1
votes1
answer2201
viewsRemove edge that appears in browser Chrome and Firefox
How to remove edge that appears in browser Chrome and Firefox. Already in browser Edge does not appear. .fa-admin { font-size: 23px !important; line-height: .75em; vertical-align: -15%; position:…
-
1
votes2
answers4866
viewsHow to take data from a form and place it inside a Javascript object?
Hello, I’m trying to understand calls via JS from a form (so speak?), but I’m having a few problems and would like a help. My form is: Nome: <input type="text" name="name"> E-mail: <input…
-
1
votes1
answer25
viewsUse different Background Images in HTML+CSS
Hello, I have a page in HTML+CSS and wanted to put Two different images background, One to be displayed for PC and one for mobile, how could I do that? My css is like this currently, calling just an…
-
1
votes1
answer131
viewsHow not to affect next elements of the same tag
I have a horizontal menu with several elements <li>. But as the mouse on the last item, namely on the last item <li> - "Services", opens another list of items that also contains elements…
-
1
votes1
answer32
viewsYou can only call one or two classes from an entire library in HTML/Css
I’m making a website and I’m already finishing, but to make my site responsive I would need two classes from the Materialize library. The intention was to take only these two classes because by…
-
1
votes0
answers178
views100% dynamic website SEO?
I’ve never developed a website before, I’ve always worked with systems, so I’m having problems with what should be the easiest part of development, the HTML pages. I am in the middle phase of…
-
1
votes1
answer38
viewsInsert a checkbox within a Jquery Javascript button
I have a list with a mousedown within each <li></li> and I need to put a checkbox within that li tbm only that the checkbox can’t have the mousedown. Is there any way to do it? <li…
-
1
votes1
answer423
viewsHow to start a function with onclick?
I have a script that reads one . log basically in real time and shows it on screen, but the point is that it starts with the DOM, I would like it to start only from the click on the button, could…
-
1
votes3
answers1895
viewsProgress bar with css
Well I’m trying to build a progress bar with css, and the progress value is 13.20% The problem is that this getting a degrade effect, and I want it to change from one color to another. .notification…
-
1
votes0
answers31
viewsIs it possible to create an array with html input and capture it in php?
I’m creating something like a calendar and I know it’s possible to use an input as an array. For example, if I need to add more fields with jQuery, use name="Description[]". In my project I already…
-
1
votes1
answer20
viewsPassing attributes to viewport via CSS
What are the attribute models that we can pass to the viewport through CSS? Taking an example of the attribute content meta tag <viewport></viewport>: user-scalable=no, how I would…
-
1
votes3
answers1154
viewsHow to scale aside and div center according to screen height
I’m trying to scale the side menu and the content div between the header and the footer so that it occupies the entire screen, even if I don’t have much content. if you have a lot of content, you…
-
1
votes1
answer682
viewsError opening map in modal bootstrap
I have this function that receives the variables and assembles the map. It simply stopped working and on the console appears the error --- index.php:196 Uncaught Referenceerror: $ is not defined ---…
-
1
votes1
answer72
viewsTaking hidden data with the <noscript> tag file_get_contents
I would like to retrieve a CAPTCHA information from one form and display it in another using the file_get_contents. It turns out that the page where the data is has the tag <noscript> that…