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
votes2
answers178
viewsHow to make editable radiobutton?
Next, I will have to add radiobuttons dynamically, in that they will have to be able to write. They come as label ne? I needed to be able to edit this label, it could be a text too, the important…
-
2
votes2
answers89
viewsRegex because only true if put above 5 numbers?
function checkreg() { var reg = /[0-9]{4}/; var verificaInput = document.querySelector("#agencia").value; console.log(reg.test(verificaInput)) } <label> <input type="number" name="agencia"…
-
2
votes2
answers1804
viewsSort list with Vue
Ba late gentlemen, I’m beginner with Vi and I’m creating a list, but I’m having a hard time understanding how I will sort list by clicking on the column title follow example: new Vue({ el: "#lista",…
-
2
votes1
answer109
viewsHow to control the size of a font using @media
I’m trying to change the size of a font when decreasing or increasing my screen size using @media I know this is how it works: #Fonte{font-size:10vw;} @media (max-height:880px){ #Fonte{ font-size:…
-
2
votes3
answers2922
viewsDynamic table with addition of rows and columns
Is it possible to create a dynamic table with the addition of rows and columns? According to the picture, the situation is: - Starts a table with 3 columns and a row; - Whereas the first line and…
-
2
votes1
answer3524
viewsPlace Text on Div Border
I wanted to put a text on the border, as in the attached image. I am using Bootstrap. My current code is like this: CSS: .jumbotronmax { padding-top:30px; padding-bottom:30px; margin-bottom:30px;…
-
2
votes3
answers2679
viewsApply mask to an HTML table column with Angular?
How to put CPF mask in a table ? For inputs I used the ui-Cpf-Mask directive, but need to put in a table cell. code: <tr *ngFor="let user of users | async"> <td>{{user.nome}}</td>…
-
2
votes1
answer544
viewsWould it be possible to identify if a DIV is over another DIV using some type of script?
I have a DIV A, which moves on screen by clicking on the keyboard keys. It would be possible to identify if this DIV A is on one DIV B using some script and trigger an event when being recognized…
-
2
votes1
answer1265
viewsDelete dynamic table row via button in dialog box
As I delete a row from a dynamic table through a confirmation dialog box (modal)? So far I can delete only by directly using the delete button from the row itself in the table, but I wish there was…
-
2
votes1
answer94
viewsTag <head> <body> in Angular projects
I’m studying Angular and I was left with a ref doubt. the use of tags <head> and <body> For example, in an html file would: <head> <title>{{ tittle }}</title>…
-
2
votes3
answers1179
viewsCharset does not work in Javascript
I have the following Javascript function that issues a confirm with a message containing special characters. function cancelaCadastro(){ var cancelaCadastro = confirm(unescape("Você deseja cancelar…
-
2
votes2
answers55
viewsBOOTSTRAP EDITIONS
I’m using a bootstrap theme with background image but the image doesn’t change. I went to css, I changed the background anyway and the image remains even being a url that no longer exists. As there…
-
2
votes2
answers367
viewsFieldset element should be used only in form?
The element <fieldset> may only be used in forms for your organization and grouping of content or may be used anywhere in the code?
-
2
votes2
answers98
viewsDelay doesn’t work, can someone help me?
I was programming a simple profile and I want to put a delay after the 'mouseenter' as soon as the mouse enters this 'mouseenter' and along with delay to show a box called '.user_widget' I am using:…
-
2
votes1
answer209
viewsPositioning of Divs
I’m having a problem positioning the Ivs of the products they don’t align. http://casimirowebshare.000webhostapp.com/nutrirossio/produtos.php As you can see here in CSS I have: .produto_em_destaque{…
-
2
votes1
answer2359
viewsReturn of "?" instead of the special characters in a SELECT
I’ve got a problem, I’ve encoded everything with utf-8, I’ve tried multiple ways to fix it and I can’t, in one <option> of HTML, I pull a table from the database, but it returns with a special…
-
2
votes2
answers115
viewsWhat are HTML meta tags for?
I would like to know the usefulness of meta tags of HTML. And if there is any book that could recommend me about them, because I wanted to understand more about this subject. It can be in English or…
-
2
votes2
answers480
viewsAligning Counter on Icon
How to do in a correct way where the counter is always in the same position as illustrated below Here depending on the resolution it leaves the position How I wish it would turn out My Code…
-
2
votes1
answer543
viewsProblems with image localization in the Spring Framework
I’m using Spring and Thymeleaf: I have an image in the directory: Resources/image/Telescope.png When I open the page posts.html (home),located at the address below, the image is displayed.…
-
2
votes2
answers461
viewsTake function result and insert into an Input type text (html)
Hello, I have a slight problem with my HTML and JS code. I need to insert the result of a function(JS) into an input(Html). But I’m not getting it... I tried that way: HTML: <p>Preço USD$:…
-
2
votes1
answer2443
viewsHow to change the color of the rows of a table according to the value of each one
I’m having trouble developing a Function that changes the color of a <tr> based on a specific value of a <td> I need this Function to do for each line, because they contain different…
-
2
votes2
answers1721
viewsHow to use jQuery to dynamically add text field in the form
I have a form where the client needs to inform the number of ports of the patch panel, and according to the value he fill this field, appear more new fields dynamically to add other relevant…
-
2
votes1
answer74
viewsIn which cases is the <ins> tag used?
One of the HTML formatting tags is the tag <ins>, but all I found out about it is that it serves to mark an inserted text. I want to know more details of that text "inserted" is this, and in…
-
2
votes2
answers116
viewsHow to use a tag property, using Jquery
I have a dynamically filled component <select id="selectTeste"> <option value='1' exigeIdade='true'>item 1</option> <option value='2' exigeIdade='true'>item 2</option>…
-
2
votes1
answer998
viewsHow to show result via ajax and jquery without refresh happening on the page
I tried to implement an Ajax call in a project and I can’t identify the error. I have a form for posting status and I would like that as soon as I post something it does not refresh the page but…
-
2
votes1
answer354
views'querySelectorAll' does not work
I was doing a test that when clicking the button all 'p' should turn red. Someone knows what is wrong? function test() { document.querySelectorAll('p').style.color = 'red'; } <!DOCTYPE html>…
-
2
votes1
answer67
viewsHow to pass the "+" signal using GET?
I need to send a parameter GET which is encrypted in AES but in the hash sometimes comes a + and in sending the browser interprets this + separating the hash. Example of the URL:…
-
2
votes3
answers148
viewsTable showing Undefined that does not exist
I have a javascript generates a dynamic table. Looking at Stack Overflow searched for methods to print a report from this table. In my case, when the user clicks on Imprimir tabela opens a page with…
-
2
votes2
answers2173
viewsHow to make a Bootstrap Collapse button disable the other
I created two buttons Collapse in Bootstrap with two different contents. What happens: When I click the first button the content expands. When I click the second button the second content expands…
-
2
votes1
answer209
viewshttppostedfilebase always empty when switching to controller
I am sending a form to my Controller passing one HttpPostedFileBase as parameter. The problem is that it always comes empty. HTML: <form action="@Url.Action("Import","Importacao")" method="post"…
-
2
votes1
answer70
viewsDate going wrong
I saw similar questions, but none with answer, my date is coming so from the bank 2017-05-05T00:00:00+00:00 when I try to make a date(’d-m-Y',strtotime($data)); it comes so 04-05-2017, has it come…
-
2
votes1
answer27
viewsPHP Receive the ID of a value via select option
Oops, guys, I’m developing a code and I’ve been at this part for days; I need to get a value to register it as a table ID. This part of the code works perfectly. It demonstrates a dropdown of what I…
-
2
votes2
answers1054
viewsHow to remove the background in a select option?
I have a select option with several countries I created the CSS to take the default style of it in browsers. I have two problems, a need to take out that blue background when I step over each option…
-
2
votes2
answers152
viewsPass search input to another file
I am doing a car registration project, it is almost at the end, but when changing a bit the style file and tinkering the listing to leave in AJAX without refresh a bug strange happened, I have tried…
-
2
votes0
answers421
viewsInsert onclick event into dynamically created input
I have a table where the user can insert a row into the table and then delete it if necessary. For this, when it adds a Row, in the second cell I insert two cells. One contains the content and the…
-
2
votes1
answer223
viewsHow to style HTML5 calendar icon
I have an HTML5 input with type="date", thus: <input type="date"> Is there any way to change the color of the calendar icon it brings natively? I’ve tried properties like…
-
2
votes1
answer25
views -
2
votes2
answers235
viewsBackground-position is not working
Hey there, guys. I used the image-Replacement technique, tried to leave the image centralized using the background-position: center, but the image position remains unchanged. Would anyone know why…
-
2
votes3
answers6461
viewsExchange CSS classes with simple Jquery function
I have a dropdown menu and in the corner of <li> I have an icon of the Font Awesome which symbolises an upward-facing arrow (fa fa-level-up pull-right) and when the user clicks on this…
-
2
votes2
answers2149
viewsinclude with parameter?
There is include with parameter? I have a page .php containing the following code: <ul class="nav nav-tabs"> <li class="active"><a data-toggle="tab"…
-
2
votes0
answers1046
viewsPHP encoding problem, PDF file character error
Well I’m with a problem that apparently is not very unusual, I’ve seen some similar questions and none of the answers helped me. I have a form HTML where the information entered in it is being…
-
2
votes1
answer4040
viewsjsPDF include css
How do I save this DIV, with css formatting, if it is easier to do with table, also can, because what I need is only show this DIV with value inside. It will be generated side by side. var doc = new…
-
2
votes5
answers7507
viewsChange function of onclick
Guys I’m having a question. I have a button: <button type="button" class="btn btn-success btn-xs" onclick="vincularContato($(this))"><span class="glyphicon…
-
2
votes1
answer342
viewsPut multiplication result in another input and add Totals
My goal is to display the sum of Inputs in the Total Column in the "Total Order" input, where the Acrescimo (will be passed in decimal form (%)) and the discount value (will be passed in decimal…
-
2
votes1
answer1871
viewsUse delete method with express
Hello, I’m trying to send a value of a form (id) that will be handled by express (I don’t know the technical terms for this, if you can help me too), I’ve looked a lot but I can’t pass the id…
-
2
votes2
answers453
viewsFocus on the last Jquery character
I need when the field gets the focus, the cursor to be in the last character. The way the cursor is at the beginning of the field even if the field is not empty. function gravaObs(unidadeObs) { var…
-
2
votes1
answer173
viewsSave value from a select and display
I’m developing a CRUD of a web system. In the employee registration I use two select elements to display the options, when registering work all ok, the information goes to the bank. The problem is…
-
2
votes1
answer113
viewsHow to link a different stylesheet to the Django base template stylesheet
Let’s say we have the following template as the basis of a Django project (which will be called here html base.): {% load staticfiles %} <html lan="pt-br"> <head> <link…
-
2
votes1
answer35
viewsMultiple Upload Thumbnail
I have a field to upload PDF documents, when attaching a document appears the PDF icon, but I am using multiple upload and only an icon appears when ideally it would appear an icon for each attached…
-
2
votes0
answers100
viewsAuto Complete Google
The input: <div class="input-group" style="width:50%;margin-left:auto;margin-right:auto;"> <input class="form-control" vs-google-autocomplete="autoCompleteOptions" ng-model="address"…