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
votes1
answer75
viewsSelect filter stopped working
Hello, Guys need a help, I have a select filter that until yesterday was working, someone moved and stopped working, as I do not understand much of jquery, I decided to ask here. Note: The jquery…
-
2
votes2
answers241
viewsSelect text in parentheses (CSS)
I wonder if there is a way to select a text that is in parentheses using CSS only. For example.: <p>Sistemas de informação (ead)</p> I would like to select the text "ead" and put it in…
-
2
votes1
answer35
viewsScript adding multiple submits to form in modal
Next, I am trying to perform a password recovery form on a modal, however, each time I click on the button that opens the modal, a Submit event is added to the form. Any idea how I can solve this…
-
2
votes2
answers145
viewsProblems trying to save data from the form
I am not getting through the HTML page to insert the name and save. Could anyone explain what is happening? @Entity public class Livro { @Id @GeneratedValue(strategy = GenerationType.AUTO) private…
-
2
votes2
answers31
viewsIs it a problem to remove class that an element does not have?
I have an application that at certain times I need to remove and add classes from an element by Javascript. $('.elemento').removeClass('minhaClasse') $('.elemento').addClass('minhaClasse') Currently…
-
2
votes2
answers1102
viewsChange part color of a string
I need to do a query in Mysql and change the cvor of a piece of text if a specific string is contained in the text. For example: My tah td returns a text <td id="conteudo"…
-
2
votes2
answers180
viewsHow to evaluate if the user will have the source used on the site?
When the user does not have the specified font in the css file installed on his computer, the browser will use the standard style font, according to the handouts I read. For example, you create a…
-
2
votes1
answer388
viewsPick up music track information with JS
I’m making a music player using only HTML, CSS and Javascript. I can do everything except grab track information. I can get the length of the track and also the current time, the information I need…
-
2
votes1
answer312
viewsMysql How to return only part of the result of the FULL-TEXT query
Let’s say I have this text stored in a table in my database: Lorem ipsum dolor sit Amet, consectetur adipisicing Elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad…
-
2
votes2
answers208
viewsCatch everything between line break tags
<div class="1" >quero pegar AQUI DENTRO PODE TER quebra de linha... paragrafo... espaços várias outras tags html... qualquer coisa... </div> How do I marry this div with regex? Example:…
-
2
votes2
answers52
viewsHow you use < as text
I would like to know how I could use the symbol as text in my HTML code for example I would like to write < The Majestic > only between the symbols of major and minor.
-
2
votes2
answers4812
viewsHow to Center Menu in css?
I would like to know how to center the menu below: .dropdownmenu ul, .dropdownmenu li { margin: 0; padding: 0; } .dropdownmenu ul { background: gray; list-style: none; width: 100%; } .dropdownmenu…
-
2
votes3
answers1704
viewsOutline image with CSS text
I am developing a website but without using any framework to this end;I would like to point out that I have only started in the studies of front, and that CSS is totally new to me. I’m trying to fix…
-
2
votes3
answers592
viewsAdapt formatting of input
I have an input field where I want the user to enter the license plate of the car in the following format "11-22-dd ". How do I make the form invalid if the value sent does not follow that specific…
-
2
votes1
answer465
viewsPutting a start time in Input date
Good afternoon, could you start the input date field with the time already filled ? in case I wanted to start with 23:59 and the date field to start same normal. Thank you
-
2
votes2
answers95
views -
2
votes1
answer139
viewsRegex to capture fixed strings in HTML and JS codes
I’m doing some automated testing for a project legacy in the MVC model, however, there is a requirement for one of them to capture all fixed strings in HTML and JS codes. Since the project company…
-
2
votes1
answer197
viewsHow can I reduce this line of code in javascript?
I have a file like this: <html> <script> var a = document.createElement('script'); a.src = 'js/index.js'; document.getElementsByTagName('html')[0].appendChild(a); </script>…
-
2
votes2
answers172
viewsWhat is the best way to turn a secure contact form?
I have a contact form working but it shows crossscripting security failure in Sitelock. Any help overcoming the problem? Thank you <?php header('Content-Type: text/html; charset=utf-8');…
-
2
votes2
answers3123
viewsInserting a page from one site into another
I have a site developed in a CMS and on a certain page of this site, I need to insert another page that was developed without the help of CMS. To be more precise, this page that I am trying to…
-
2
votes1
answer399
viewsHTML & PHP - HTML code simply not read
I have following code on the part of PHP does not present any error, the page appears blank and does not show the HTML code. <?php include("config.php"); if($_GET['key'] &&…
-
2
votes1
answer840
viewsHTML - I can’t align a textarea, all other items are aligned
HTML: <body> <table class="Cabecalho" width="100%"> <tr> <th width="33%"><a href="Home.html">Home</a></th> <th width="33%"><a…
-
2
votes3
answers2407
viewsState and City Combobox associative array in Javascript
I’m trying to set up this associative array, in the case of the combobox is the state of São Paulo, it has to show 5 cities of São Paulo, if it is Rio de Janeiro, shows the 5 cities of Rio de…
-
2
votes0
answers64
viewsPHP - password reset code problems
I am trying to create a link that is sent to the user so that I can reset the password: I have the following code that sends the code to the user: <?php include("config.php");…
-
2
votes1
answer45
viewsHow do I read my HTML file for the server I hosted?
I created my HTML site and uploaded it to the server. However, when I enter an address, I am referred first to the index of the public.html folder. According to the hosting assistance, the problem…
-
2
votes2
answers240
viewsStyle input through jQuery Validate
I am using the jQuery Validate plugin to validate a form. When I declare the rules in the input declaration the form turns red when it doesn’t fit, and blue when it fits. Here is an example of an…
-
2
votes2
answers1958
viewsHow to automatically set the autofocus attribute to HTML input by Javascript?
I need to automatically set autofocus to the input contained in a modal whenever I open it. What Javascript function can I use for this? <input type="email" class="form-control"…
-
2
votes1
answer123
viewsProperty overflow is not working properly
I have a part of my system that will receive requests and each new request that arrives, the system will create a list, the format is practically equal to a "submenu" the problem is that when I have…
-
2
votes4
answers1299
viewsDisable the forms autocomplete
Hello... I am with a problem that I thought simple, but I am two days ago looking for a solution... I just can’t get the forms autocomplete disabled. I remembered the 'autocomplete="off"' for this,…
-
2
votes1
answer75
viewsWhat does #Document mean?
Good evening guys, I am analyzing a source code to parse and I came across an excerpt of the code in which appears a #Document but never seen it in my life, I gave a Google here but I found nothing…
-
2
votes2
answers1012
viewsArrange amount of Divs/columns per row
I have the responsive site, and I have a list of products. On the desktop it is OK, it is for example: |PRODUTO 1| |PRODUTO 2| |PRODUTO 3| |PRODUTO 4| |PRODUTO 5| |PRODUTO 6| |PRODUTO 6| |PRODUTO 7|…
-
2
votes1
answer833
viewsDisplay selected option in select with JS
I have an excerpt of code where I wish to pick up the value of option selected, with Javascript, and give a alert with that value. However, every time he gives the value as undefined. I made a line…
-
2
votes1
answer17
viewsHow to consume a constant in another JSX component
I have a constant: const dados = [{ id: 1, nome: 'Juliano', idade: 25, descricao: 'Front-end', }, { id: 2, nome: 'Italo', idade: 29, descricao: 'Back-end', }] I export all this constant, via: export…
-
2
votes1
answer2485
viewsLabel and input on the same line
Hello, I am using bootstrap to build my html page and am having a problem with form-control. I would like my label and my input to be on the same line, close to each other, but the most I could get…
-
2
votes2
answers2323
viewsDisable button after jQuery click
Well I’m having the following problem. jQuery identifies the tag data-link to recover the link and redirect the page. Soon after this the boot has to be disabled. The problem is that by clicking the…
-
2
votes2
answers81
viewsAre there "problems" using jQuery’s small?
For example, some parts of a site, I can not fully touch the HTML, put the platform blocks for "security" and does not let modify, so I use jQuery/Javascript to make the modification I need. Does…
-
2
votes2
answers76
viewsReserve image - SRC
I’m wondering if it’s possible to create a secondary image if the main image doesn’t exist In case, if someone registers and does not put photo, he set a default img. <img…
-
2
votes1
answer722
viewsClose modal window when user click anywhere outside modal
I’m using a plugin from a modal window, but I’m not getting the modal window to close. Example of Jsfiddle: https://jsfiddle.net/2kag95en/ (function($){ $.modal = function (el, options) {…
-
2
votes1
answer155
viewsHow to develop an Auto Text Expander with Javascript or jQuery?
I want to create multiple keywords to work as a shortcut to auto complete. "oi." daria "Olá Amigo" "ate." daria "Abraço e até mais" For example, I type in a textarea of my website the word "test."…
-
2
votes2
answers1339
viewsOpen PDF in browser automatically after download
The downalod from the PDF is executed correctly (is minimized at the bottom corner of the browser). How to make it open automatically in a new guide ?: <a href="#" class="download"…
-
2
votes2
answers338
viewsHow to put html id tag with variable name using Razor
Hey, you guys. A very silly doubt, but it’s giving me a lot of headache... I have this snippet of html code using Razor in Asp net mvc, I want to merge the id of this snippet, like, "name + code…
-
2
votes1
answer169
viewsanimation wave effect in SVG string
I am making an animation SVG and to be complete, is only missing the animation of the string .wrapper { background: #364254; width: 100%; height: 100%; } <div class="wrapper"> <svg…
-
2
votes1
answer113
viewsOverflow on off canvas menu?
I’m making a menu off canvas, in fact it is always on the screen, and when I click the button, what moves is mine main, the problem is the overflow, when I open the menu it should not let me give…
-
2
votes1
answer155
viewsSelect Md-option with ng-click
I have a page listing some job openings. Below these vacancies I have a form and in this form there is an option field to select the vacancy of interest. If the user clicks on the position of…
-
2
votes2
answers469
viewsHow do I make a comment in HTML?
I wanted to know how to make a comment in Pycharm with HTML. The comment in Python is #, in C is // or /* */, and in HTML?
-
2
votes3
answers1589
viewsHow to redirect user after login according to user type?
in the system there are 2 types of users 1 = admin and 2 = teacher, and after logging in need redirect each to a different page. This is my php and html code. require "lib/authenticate.php"; $error…
-
2
votes2
answers915
viewsHow to keep the data filled in <input> after clicking send the data?
Hello! I have a table with some input fields, which need to be filled in before the user submits it, however, I needed these completed data to remain after it was sent, even after the page was…
-
2
votes3
answers78
viewsAlign div with css
<div className="containerConversa2"> <div className="conversa"> <div className="preenchidaAutomaticamente">teste </div> </div> </div> I have this html structure…
-
2
votes1
answer82
viewsEditions using Bootstrap
I’m using a full image bootstrap but my image besides not being changed is getting in the middle of the screen. I wanted the login screen padding to be restricted to its size, but it’s taking half…
-
2
votes1
answer596
viewsHow to display style and run javascript along with html on Node Js?
I started to learn Ode js, but I face a problem when rendering a project composed of: Html, css and javascript. HTML is uploaded and opens, but css doesn’t work like javascript does. codigo Node:…