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
votes0
answers83
viewsChrome Auto Complete fills wrong fields
I have a WEB application that queries dynamically using SQL. After the Chrome update, all system inputs are coming with the user name already filled in. Example: value = 'SUPERVISOR' value should be…
-
2
votes2
answers72
viewsHTML and CSS responsiveness error
When I minimize the screen, the photos stay outside the block, follow the HTML and CSS code <!DOCTYPE HTML> <HTML lang="PT-BR"> <head> <title>Cartola dos Amigos</title>…
-
2
votes3
answers426
viewsHow to Take "resize" from a textarea?
< script src = "//cdn.tinymce.com/4/tinymce.min.js" > < /script> < script > tinymce.init({ selector: 'textarea' }); < /script> <div class="form-group"> <div…
-
2
votes1
answer47
viewsWhen I click on the tag reference id it does not call the page I want
I can’t make it work at all...! <script> document.getElementById("ClicouNaTag").addEventListener( "click",function() { window.location.href = "vaiparaessapagina.php"; } ); </script>…
-
2
votes0
answers32
viewsHow to go through data from an htm file?
I need to go through the data of a .htm that’s zipped up in that zip file. But I have no idea how to do it in an automated way. I have no idea how to do it. Can anyone tell me which tool or…
-
2
votes2
answers338
viewsBackground does not work
I’m trying to apply the CSS below on a div to use a background, but it doesn’t appear at all. HTML <div class="row background-1"> <div class="col col-2"> Lorem ipsum dolor sit amet,…
-
2
votes1
answer100
viewsHow to load videos inside a div with <select>
Hello ! I have a select with values and video titles. I want to select the video by value and upload within a div. SELECT THE VIDEO... Video-1 Video-2 Video-3 What a jquery would look like ?…
-
2
votes1
answer437
viewsAligning objects on the screen using bootstrap
I have this code that I found on the internet that works as a Dashboard, but I can’t align the objects the way I’d like The code: <div class="row"> <div class="col-xs-12 col-md-5">…
-
2
votes3
answers888
viewsHow to make an image with link appear a text
I need to make a code so that a button (which is an image) when I move the mouse the image will go up and a text descend (name of the image icon), already tried to leave the button with opacity(0)…
-
2
votes1
answer1412
viewsResponsive bootstrap menu does not close when clicking
I would like to know why the bootstrap menu on mobile devices does not close when clicking on the menu. It opens normally, but if the user wants to close, it does not close. Access link:…
-
2
votes1
answer56
viewsHide a question when selecting another in jQuery
Good morning, I am finalizing a website here for company where I work, and there is only one detail to complete it, but as my knowledge in javascript is a little limited, I would like a little…
-
2
votes3
answers230
viewsReduce code repetition with loop creation (loop)
I want to save a few lines of code by creating a loop for or while to reduce what is below. I would assign a variable array for baixo_final[] getting baixo_final[i] for example and the variable i…
-
2
votes3
answers215
viewsDynamic background in relation to div
I am doing an exercise that is necessary to create a website for an advertising agency. I did everything right but I’m having a lot of difficulty with a feature. I want to pass the mouse about a…
-
2
votes2
answers896
viewsWhat is the difference between Htmlcollection, Nodelist and Object?
Sometimes I have to manipulate a Nodelist, another one Object but I didn’t understand exactly what the difference is between them. And what the GIFT with them?…
-
2
votes1
answer791
viewsI calculate in javascript without refreshing the page
I’m trying to create a script on javascript to take a value entered by the user, and multiply by the specified value, but whenever I click the button, it performs the calculations, but, it updates…
-
2
votes1
answer904
viewsHow do I interact with HTML created with javascript?
I am creating a site posts that will be updated by ajax, but when you add one more post the side menu does not work. How to upgrade without making the menu stop? This is the code I’m using, I put a…
-
2
votes1
answer393
viewsSwitching from Apache to IIS: how to display errors
I have a very basic web page (like a questionnaire), where at the end it stores the information in a Mysql database. While it was allocated to Apache (provided by xampp) it was working, now that…
-
2
votes1
answer487
viewsLock site vertically
How can I prevent the contents of website stay horizontal when the user turns the phone? Would you have any solution to viewport or Javascript?
-
2
votes2
answers1526
viewsPHP - List files in a directory
I have over a thousand pages on html, would like that my script below list all the files in a directory instead of being loaded manually, today I have to do one to one. Is unviable! Please see the…
-
2
votes2
answers1443
viewsTo fill a Select dropdown based on the value of another select, the data comes from the same table in db
I have a database where information is stored from the year on. On the site I have 2 Selects, one for year and one for the files of that year, currently I do this with JS but I wanted to switch to…
-
2
votes2
answers89
viewsHow can I extract values from a Javascript input, but using HTML validation
<form><label for="NUMERO">Digite um número</label> <input type="number" name="num" id="NUMERO" min="0" max="100"> <button type="submit">Enviar</button>…
-
2
votes0
answers155
viewsWeb sockets how to make a connection by selecting an IP
I’m doing a project that involves connection to a ESP8266 through websockets, but as the ip of ESP no and static need to make manual connection with the IP. But in the code below when I put the…
-
2
votes3
answers2135
viewsHow to put an element in Fullscreen
I searched a little about the same on google and most people talk to use position: absolute; z-index:9999; width:100%; height:100%; top:0; left:0; However the code above only works to put in…
-
2
votes2
answers490
viewsHow to use anchor in Angularjs?
I am starting to work with Angularjs and I have the following situation I have a href that redirects to a div inside the page itself by the id of the div: <a href="#teste"></a> <div…
-
2
votes1
answer253
viewsCreating images with text 'imagecreate()'
This is going to be quite difficult to understand, because I don’t have a very dynamic explanation. I will try to be as clear as possible! I want to create an identical letter generator to this:…
-
2
votes3
answers918
viewsHow do I make the OPTIONS list of a SELECT transparent?
My form has the inputs with the placeholderin white and background transparent, to make everything uniform I need to put the select field in the same style; background transparent and font in white,…
-
2
votes3
answers518
viewsRemove JQUERY tags
I need to remove HTML tags from a variable, or else not interpret the HTML of that variable. The problem is that the variable has its value coming from an input, so: var msg = $('input').val();…
-
2
votes1
answer156
viewsPHP Multidimensional Array
Well I’ve bonded for making the inputs of matriz in html with the following code. for($I=0; $I<5;++$I){ for($J=0;$J<3;++$J){ print" Matriz A: <input class='_InpText2' type='text'…
-
2
votes2
answers55
viewsCustom border for certain table columns
So, I have a page with a table that compares an amount of predicted items with an amount of items performed month by month. That’s the way it is these days: I was asked to put a line after each…
-
2
votes2
answers1174
viewsChange the color of a cell according to the value
I have a page with a table that shows information on the number of items expected to be performed and the number of items that were actually performed at the end of each month. I was asked that, in…
-
2
votes3
answers452
viewsThere is a useful way to highlight an HTML element/tag(a) in a certain color
Well, I want to define a color tag style. The following example changes the style of an element <p id="tag"> parágrafo </p> To change the style of an HTML element, this syntax is used:…
-
2
votes2
answers1469
viewsVertical text in table
I’m playing a pdf: However, I need to place this vertical text which is in the image,I wanted to know how to leave it upright, in the same format as the image using table only, and not use div.…
-
2
votes2
answers3383
viewsHow do I make a website responsive with or without bootstrap?
I’m making my first website for a client, missing only make the site responsive. I was wondering how I could do that? most tutorials out there are with bootstrap, but I started and finished the site…
-
2
votes1
answer156
viewsConfigure CSS to generate a new column when overflow is reached
I am generating a list of links dynamically using PHP, but this list is very large and I would like when it reaches a certain height in px the column is broken in 2, 3, or as many as necessary. Ex.:…
-
2
votes0
answers120
viewsLogical Doubt Generation of Laravel Rounds
I have a championship management system in Laravel. The system works perfectly, but I’m having problems generating rounds, I need that regardless of the number of groups enrolled, the system can…
-
2
votes2
answers2257
viewsSet current date in Input type Date
I want to set the current date in this input type date; using this way with php it only gives the value of the current date, but viewing shows only dd/mm/yyyy, but inspecting the code the value of…
-
2
votes1
answer1577
viewsOpen android app via php
I have a web system and would like to call/open an android app installed on a tablet through a button on my system. It is possible via php, javascript or html? Thank you,
-
2
votes3
answers883
viewsAllow Select PDF only in JS
I wonder how to do that when choosing the file to upload it filter by extension . html native pdf or by JS, Jquery. Using type="file" it brings all the files. <!DOCTYPE html> <html>…
-
2
votes1
answer124
viewsDisplay text coming from the database under @Html.Actionlink()
Well, I have the following scenario: I make an appointment at database and I bring a IEnumerable<> to the View: <section class="container"> <article class="row"> @foreach (var item…
-
2
votes3
answers144
viewsHow to keep html data saved
Well, I need to take the value of a textarea and send it to a second textarea on the same page, but when I give refresh I don’t want the value of the second textarea to go away, how to do this using…
-
2
votes1
answer1034
viewsHow to pass parameter to modal, query Mysql and return in html
I’m trying to pass a variable to a modal, perform a query to give a feedback on html, because the data will be formatted in a table. I tried some suggestions as alternatives, but I’m having…
-
2
votes1
answer163
viewsHow to use Emscripten?
I wanted to convert my codes into C++ for Javascript so I could use them on web pages. How can I do this? From what I’ve researched Emscripten does that, I just don’t know how to use it. How it…
-
2
votes2
answers394
viewsPrevent multiple Ubmit via jQuery
I’m making a form with abide validations (Foundation 6) and I’m not managing to prevent several Ubmit’s. The following happens: When it is clicked on the Submit button of the form the following…
-
2
votes1
answer54
viewsPage content escaping from the parent element
I’m making a simple website with the following structure: <div class="front-page"> <main> <div id="hello"> <article> <header class="post-header"> <h2>Título da…
-
2
votes1
answer1069
viewsOpen dropdown over the div
Hello, I have a dropdown made with ui-select, which does not open above the rest of the site. as you can see it opens only up to the limit of the div I’ve tried the examples I found on websites.…
-
2
votes2
answers52643
viewsHow to make a background image fill the entire screen without losing image resolution
I have a part on my site where I need to put a background image occupying the entire screen, both wide and high. I managed to do this with css. .intro { display: table; width: 100%; height: 100%;…
-
2
votes1
answer5641
viewsHow to close a modal only by buttons?
The title is already very explanatory. But I would like to know how I close a modal only by the close button and the "x" of the window, not allowing the user to click on the black background around…
-
2
votes1
answer29
viewsAdd a label with the amount close to the field
I want to make a button or text field, for example, email, which tells the amount of emails on top of the text. Something like: Emails¹³ This is done in PHP or HTML?…
-
2
votes1
answer40
viewsHow to submit data from a JS array to PHP?
I have a form that has a table that will be generated as the user adds elements to it through the "Add" button. (A customer may have multiple addresses) As several data will be generated, I will…
-
2
votes1
answer37
viewsLinks do not align on each div in a footer
Hello! In the development part of my site (in HTML5, CSS3), I came across a problem in the links of the Footer sections, which both placed within tags div do not align vertically below each section,…