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
votes1
answer1034
viewsI would like to place two actions for the same form
<form method="post" id="formulario_contato" onsubmit="validaForm(); return false; " class="form" action="?go=enviar"> <table id="login_table"> <div id="all"> <div…
-
1
votes1
answer25
viewsChange class when changing view
I’m using bootstrap and angular I have a Nav: <ul class="nav nav-tabs nav-justified" ng-model="activeVar" style="margin-top:50px;"> <li role="presentation"><a value="overview"…
-
1
votes1
answer446
viewsHow to query via AJAX and store the data in a javascript variable?
I have this code <script> $(window).load(function(){ var source = [{ label: "Tom Smith", value: "1234" }, { label: "Tommy Smith", value: "12321" }]; $("#descricao").autocomplete({ source:…
-
1
votes0
answers17
viewsElements Events Rendered by the v-html Directive in Vue.js
How do I use an event in an element rendered by the v-html directive? The Vue (@event) events do not work.. I tried calling a function by onclick, but it is not found. <button onclick="test()"…
-
1
votes0
answers109
views -
1
votes0
answers7
viewsHow to place a Raddiobutton as Checked on the Razor Page
I have the following question, I want to leave this radiobutton as checked, but it is not checked, I tried to put checked(true), but it does not work, follow the code: @Html.Radiobuttonfor(m =>…
-
1
votes2
answers1787
viewsHow to convert a string into an object in Javascript?
I have this code: <html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="robots" content="noindex, nofollow"> <meta name="googlebot"…
-
1
votes2
answers1013
viewsAdd Favicon to my website
If I’m accessing a website, both desktop and mobile, there’s the option to add the link to the home screen, and some websites add the link with a custom icon. Ex: Stack Now my site for example has…
-
1
votes1
answer39
viewsUse Parent with input -- jquery
I am trying to recover the id of a parent div of an input <div id="parentDiv"> <input type="text" onfocus="mostra(this)"> </div> Using the onFocus function, it returns me Undefined…
-
1
votes0
answers20
viewsDoes anyone know how to increase this html input?
I need to increase the input for msm hr size <div class="login"> <input type="text" name="username" id="username" placeholder="Insira seu username"> <hr color="1DDBB9"> <br>…
-
1
votes1
answer563
viewsSubmit in form Bootstrap does not pass data via post!
Hello, I have an html form using bootstrap, but I can not send via post. *detail, form without using bootstrap style goes smoothly. follows my form: <div class="row contact-wrap"> <div…
-
1
votes1
answer36
viewsDisplay: None is erasing where it shouldn’t
When using the Display: none to exclude the h2 (containing the title) in @media, it ends up deleting the options present in the menu, even being the h2 belonging to the id: navbar and the menu to…
-
1
votes0
answers32
viewsHow to align the content of a card to the center?
The card contains an icon and a title. I intend to align both in the center (horizontally and vertically). It is not enough to use the class text-center? <div class="card bg-green p-1 w-100"…
-
1
votes2
answers581
viewsResize Input Bootstrap in Inline Form
I have the following inline form, and would like to resize the input according to the design: Follows code: <div class="row"> <div class="col-lg-12"> <div class="panel…
-
1
votes1
answer208
viewsUsing require, where to use this tag?
I had asked this question before, but I was not so specific so I decided to reformulate my code here so that you understand better. Here I have the main file that will be used as template for all…
-
1
votes1
answer40
viewsOpen page with active form
I would like to know how to open a new page with an active form field, because by default when you open a page no field is active, ie you need to go with the mouse and click on some field, it is not…
-
1
votes1
answer1293
viewsMode to translate website automatically
I have a Portuguese site written in PHP and HTML. I would like to offer this site to other countries, but without having to translate all content manually. So I would like a tool that translates the…
-
1
votes3
answers1036
viewsHow to avoid repeating html and css commands?
How do I not repeat the HTML and CSS code of a site’s structure? For example, I did the structure of a web page and I want that structure to be applied to the other 5 pages that I will create for…
-
1
votes1
answer455
viewsDynamically php add/remove inputs
I am creating a form where when filling in, the user will add more fields dynamically, so far I have already, but I would like to separate the value of each field added to send the separate data in…
-
1
votes2
answers163
viewsHow to add items to an array correctly?
I’m trying to create arrays with days of the week. "Apparently" seems to work: $array_dia_da_semana = array("DOMINGO","SEGUNDA","TERÇA","QUARTA","QUINTA","SEXTA","SÁBADO");…
-
1
votes1
answer913
viewsFilter Select elements with PHP
I have to create a filter in select to perform a search between multiple select results <div class="grupo"> <!-- class="borda select2_single form-control comboauto" --> <select…
-
1
votes1
answer130
viewsJquery Chosen plugin does not filter search on PHP site
I am using the plugin Jquery Chosen does not perform filter in php system. Code to scan database and get data list: <div class="grupo"> <!-- class="borda select2_single form-control…
-
1
votes1
answer871
viewsBootstrap . Nav-pills active
I have the code, which by clicking another link opens the page and adds the class .active I have tried several scripts and nothing works. <nav> <ul class="nav nav-pills float-right">…
-
1
votes1
answer49
viewsChange Selection within a Select (form)
Good afternoon, I’d like you to help me with this: I have 3 buttons that open the same MODAL, and inside this Modal I have a Select with 4 options: 0 by default, and 3 more options from 1 to 3,…
-
1
votes2
answers53
viewsjs function to hide and show independent Ivs
I’m putting together a quiz where each click takes the user to a part of the quiz. Everything is loaded on the same page so it doesn’t jump between pages. Each slide is contained in its own div and…
-
1
votes2
answers546
viewsSend form data to a URL
I know html, but I’m no expert. I created a website for my hostel based on a template I purchased on themeforrest and it has a form that receives data (as input, output, adults, etc) the form is as…
-
1
votes1
answer60
viewsDisplay original text with line breaks inside <a> tag
I’m trying to put a text with more than a paragraph as a link, but the display within the tag <a> removes the line breaks in the text. I’m doing it this way: <a style="cursor: pointer;"…
-
1
votes0
answers62
viewsTake database information and add in inputs
I’m developing a web system and I’m having a hard time finishing CRUD. The system is already saving my pacthpanel object, it has equipment registered to this patch. The information is being saved…
-
1
votes1
answer433
viewsI wanted to validate two input fields with one button
I am the master of a role-playing game and I made a riddle with a website. In this puzzle is to discover two numbers and then know if they are correct and after redirecting the players to another…
-
1
votes2
answers221
viewsMeter with percentage
I have a system of evaluation of the services that my company offers. I need to display a "meter" of the ratings with percentage. Something like that this draft but I have no idea how front-end. I…
-
1
votes1
answer67
viewsSingle download page for each user
I am trying to create a user area on my site with PHP and Mysql, so far I have managed to make the login system and a private page for clients. The question is how I could make a single page…
-
1
votes1
answer609
viewsHow to get HTML from another page
I am trying to make an extension for the chorme, that when finding a field with the html element of Cpf, it generates a Cpf and adds to the field and I have the following problem: How can I get the…
-
1
votes2
answers1183
viewsHow to send form data via Javascript and redirect
I need to have my form send data to another server page for it to enter in Mysql but redirect the user to another page but receive a success message. But for some reason, the message is missing.…
-
1
votes1
answer51
viewsphpMyAdmim Database Connection Error (New Code) Nothing is solving
Look, I don’t know exactly where to start but, anyway... I have the page posted below, and I’ve checked some with errors in the database and entering data in it. The code was made in case there is…
-
1
votes1
answer721
viewsResponsiveness on iphone
I developed with my colleagues a theme in Wordpress that is pretty cool on various devices, but the boy who will receive the site uses an iPhone 5 and this smartphone the figures were "stretched". I…
-
1
votes1
answer155
viewsConverting Word to bits - Javascript and Siemens CLP Webserver
I am receiving a PLC variable, which is a Word(16). However, I am not able to 'convert' this Word in 16 bits with their respective values (true or false). 1 Word = 16 bits. I get word with 'full…
-
1
votes1
answer106
viewsHow to place how many hours ago the post was posted?
I have a website here that is pipocando problems more and more. It was done in ASP CLASSIC by another programmer and I’m more lost than anything else in this messy logic. The problem is this: the…
-
1
votes2
answers42
viewsDoubt in <option> of <select>
I’m trying to use the variable SESSION to pass values to fields, as was used in "login", where if there is something inside the variable, it will be shown in the field, but if it does not exist,…
-
1
votes1
answer160
viewsCorrect image and text positioning
I am using the bootstrap 3.3.7 and I have a question of how to correctly position an image and text next to it. The image needs to be "pasted" in the browser and the text next to it and in the…
-
1
votes1
answer376
viewsAccent words don’t work
I have Ajax that loads database data and json type: $.ajax({ type:'post', dataType: 'json', url: '../model/dao/CursoDao.php?acao=1', success: function(dados){ for(var i=0; dados.length > i; i++){…
-
1
votes1
answer481
viewsSort rows and columns replicated with angular
I need help sorting the buttons I’m generating with angular. I am using "ng-repeat" and is generating the 8 buttons correctly but they are getting out of order I need. Follow the code and output…
-
1
votes1
answer47
viewshelp with JSF code
In the system q being developed the registration part presents the following error when saving /status/editaestado.xhtml @13,134 value="#{Estadocontrol.Estado.nome}": Target Unreachable, Identifier…
-
1
votes2
answers49
viewsDo you have a problem creating an element and setting the id to empty?
I intend to create a php function that creates html elements in a more agile way, the syntax should be more or less like a sublime extension does:…
-
1
votes1
answer169
viewsHow to leave the position of a fixed div according to the Raddiobutton change
I have the following screen that once changes the option of RaddioButton to div goes down or up. I wonder how to leave fixed in a position. Selected the Cycle option: Selecting the Year option:…
-
1
votes1
answer76
viewsAligning two Divs on a Modal
I have a question to align two Divs using Bootstrap. <div class="info-suporte col-sm-8"> <table class="table"> <thead> <tr> <th><div class="foto"…
-
1
votes0
answers144
viewsSlideshow - Buttons with Jquery
I have to make a slide with play/pause button, next and Previous. On the slide I need to use html, css, java script and my buttons need to be with jquery. The play/pause button I was able to create.…
-
1
votes3
answers230
viewsChanging button span through jQuery
I have a button that at the click of it directs to a request in ajax to an external file that adds a product, however this does not matter much in this case. I wanted to manipulate what is written…
-
1
votes2
answers288
viewsChanging button function via jQuery
I have some buttons that at the click of it directs to a request in ajax to an external file that adds a product, however this does not matter much in this case. I manipulate these buttons, being…
-
1
votes1
answer838
viewsDelete Label text with jquery
I need to delete the text contained within the tag label ("Justification") with jquery, follow the code: function add_text() { if ($("#tipo").val() == "Falta") { $(".b").remove();…
-
1
votes2
answers5148
viewsRemoving . append() jQuery
I have several buttons where at the click of it directs to an Ajax request passing as parameter the id of a product and through an external file, according to it is added to the cart but this is not…