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
votes0
answers33
viewsHow to open an article in a new page with a size that does not occupy 100%?
Man article is being displayed in a call on the index page, I would like it to open in a new page but with a width that is not 100%. <article id="tres" class="caixa caixa2 sombra"> <img…
-
1
votes2
answers65
viewsHow to change text type in a list with Jquery?
How can I make an effect on the text inside the lists with Jquery? For example, when the mouse hovers over the text in the lists, the color becomes lighter and the text is underlined. p {…
-
1
votes0
answers228
viewsError while converting HTML to PDF with HTML2PDF
Next, I’m trying to convert an HTML file that has a table to PDF using the library HTML2PDF but when I put a table with the attribute border="1" the table looks like this: My HTML code: <!doctype…
-
1
votes1
answer300
viewsNavbar Bootstrap
I am starting in the web encoding and need a help in a problem, the menu I created is not correct, it was not formatted as indicated in the bootstrap documentation, it is as list. Curso ------------…
-
1
votes1
answer552
viewsHow to add caption to a chart using Chartjs?
I created the following chart: var data = [ { value: 300, color:"#F7464A", highlight: "#FF5A5E", label: "Red", subtitle: "texto" }, { value: 590, color: "#46BFBD", highlight: "#5AD3D1", label:…
-
1
votes1
answer110
viewsFile type input with split() function returns with comma
I am recovering the returned file from a input of the kind file of a form and he returns C:\\fakepath\\nomedoarquivo.extensão so far so good, then I applied a split() and he returns the following:…
-
1
votes0
answers62
viewsJava web, jstl :How to execute a method in Servlet when exiting an input text ex:"check whether the name availability for registration"
How to execute a method when exiting a input text. Example I will make a registration at the time of registering as a user I want to check if that name is available to be used , and can not accept…
-
1
votes1
answer31
viewsImage change as the form field is chosen
I want when I select, for example, the option Ches replaces where it is NOME automatically in HTML. .goleiro-1 { height: 70px; width: 70px; background-color: #fff; border-radius: 50%; box-shadow: 0…
-
1
votes1
answer285
viewsHow to separate HTML from Java code from connection to the database?
I have a database and an html code that I finally managed to make connection but the code is kind of messy because it mixes html with java and mysql... Following example: <%@page…
-
1
votes3
answers650
viewsHow to pull Header over the top of a DIV?
How do I touch the header to the top of the div, and when the div is scrolled in auto, it doesn’t fix the header when scrolling down? Because when I put the header position in center, it is…
-
1
votes1
answer118
viewsHow to put this form below the header?
I’m starting now to study HTML, someone knows how to put the form I created below Header? h1 { text-align: center; } /* caixa header */ .headerbox { padding: 30px; background: blue; color: white;…
-
1
votes2
answers1133
viewsHow to create filters for categories with php and html to use in Wordpress page?
Hello, I would like to create a filter for categories of posts in WP. As in this example https://bootsnipp.com/snippets/N6vrp. But I don’t know much php, so I don’t know how to do it, so when I…
-
1
votes0
answers225
viewsClear space between the Menu with div class navbar and a responsive Html table
I have a table html responsible for displaying system content to the user and the problem is that there is a space that persists between the Menu higher (which is a div class="navbar") and that…
-
1
votes1
answer70
viewsHow to solve the square problem when dragged by the mouse cursor?
When the mouse movement is fast it ends up leaving the square and so the square does not move together with the mouse, I would like to know a solution so that the square always accompanies the mouse…
-
1
votes1
answer47
viewsNan of a csv file in D3.js
var margin = {top: 20, right: 10, bottom: 100, left: 40}; var width = 700 - margin.right - margin.left; var height = 500 - margin.top - margin.bottom; // o g para agrupar objetos juntos, agrupar as…
-
1
votes1
answer55
viewsHow to fill in "spare spaces"
Good afternoon, I am developing a site, and in it is having a problem of a div with 100% width and height, Absolute position. The problem is that div is not fully filling her space. While doing some…
-
1
votes1
answer73
viewsModal that appears once
I have a modal that when the mouse cursor leaves the page it appears a modal, but every time it leaves the page it keeps appearing, I wonder if there is how to verify that from the moment it…
-
1
votes2
answers35
viewscentering dynamically
Well I have the following code I’m putting together: .pg { width: 100%; } .pg>.produto { width: 250px; height: 300px; position: relative; float: left; margin: 10px; background: #ccc; border: 1px…
-
1
votes1
answer788
viewsHow to customize materialize css?
I am beginner in materialize. I have a Nav bar, in which the color of the link is Gray. I want to edit the Hover so that by hovering the mouse over only change the color of the link to blue, can…
-
1
votes1
answer115
viewsDoubt with php redirect from a dialog box
I have the following php file called remove.php, with it I am removing a record from a table, after removed I display a dialog box returning whether it can be removed or not, I would like that by…
-
1
votes2
answers412
viewsProblem when leaving the width of the automatic textarea
Save everyone, I’m having trouble letting the width of a textarea track the line size, since its initial size does not currently expand. My goal is to let the textarea only increase width as the…
-
1
votes2
answers65
viewsHow to APPEND a automatically created component, not finding the element ID
I’m trying to add a div via append because I’m adding in a table that has auto-created composites like filter, responsive, pagination, so I would like to place inside one of those div that is next…
-
1
votes1
answer255
viewsDisplay Flex property does not work on Firefox
I am developing a website and using a lot of display: flex. The problem is that I went to open the site in the Firefox browser and realized that it does not apply this property. I even looked in…
-
1
votes0
answers102
viewsHow to search using Google Maps Geocode
I would like to use the google api to click on the map and get the latitude and longitude <!DOCTYPE html> <html> <head> <title>Geocoding Service</title> <meta…
-
1
votes1
answer127
viewsFuncao adicionar Anos ao campo date Javascript
I need a Javascript code that adds years to the selected date function calculaData() { var datainicial = document.getElementById("dataselecionada").value; var partes = datainicial.split("-"); var…
-
1
votes0
answers49
viewsHow do I use a directive to turn my component on and off?
I am zooming in on my website. When someone clicks on the image, I will zoom in. If the user clicks again (anywhere) will close the zoom and return to the page: But I’m having some difficulties in…
-
1
votes0
answers75
viewsOwl-Carousel does not load with dynamic angular array
Guys I have a serious problem and I’ve tried everything to solve and so far nothing! I have a CMS for my site, the site has several plugins, I created an array with the images, texts, and I called…
-
1
votes1
answer254
viewsChange width icon dimensions
Good afternoon, on a site I am developing I need to put as the style of the list icon cluttered as an image, but because it is too big I would just like to decrease its width. I tried here but I…
-
1
votes1
answer395
viewsRelating Javascript file to an HTML
I’m a beginner in the Node world, and I’m having trouble relating a . js file to an HTML. I took a simple code, in it I have a combobox that is filled when pressing a button: //app.js var express =…
-
1
votes1
answer32
viewsJavascript error
People, I am a beginner in javascript and I am trying to do an exercise that consists in creating a button that generates stacked squares every time it is clicked. The point is, I’ve been over this…
-
1
votes1
answer55
viewsHelp with a Dropdownlist
I’m having trouble recording the value of my dropdownlist in the bank. When I do Debugger I realize that I am saving the ID values and not the selected items. How can I fix this. This is my View:…
-
1
votes0
answers123
viewsInput HTML and Django Request.POST array
I’m trying to do a POST with Formdata for a view and I’m not getting the input array. Follow the example: HTML <input name="bonus" type="number" placeholder="ex.: 100.000,00"> {% for x in…
-
1
votes2
answers163
viewsLoad include PHP from an External ID
You guys, good night! I have the following Code: <!-- Box do Cupom --> <article class="box_cupom"> <?php include("cupom.php"); ?> </article> This include PHP carries an…
-
1
votes1
answer230
viewsDrag & Drop at any position in the div
How do I get the element that will be "dropped" to stay anywhere in my div? The way I’m doing it makes the elements align. Follow image and code so far: function allowDrop(ev) { ev.preventDefault();…
-
1
votes1
answer46
viewsRemove classes recursively
Test scenario I have a menu, with sub-items, where each sub-item is a link: <ul id="MenuTabs" class="nav nav-tabs justify-content-center"> <li class="nav-item"> <a id="TabInfo"…
-
1
votes1
answer90
viewsAlign element vertically below Navbar
I have a page that I’m going to split into two columns. The right column should be aligned both vertically and horizontally and cannot create a scroll bar. I managed to do this, but as there is a…
-
1
votes1
answer340
viewsHow to detect if an element is under another element? (HTML, via javascript)
I would like to know how to detect, in a simple way and return the information I need, if one element is under the other. I’ve tried for the offset, but it was very difficult and did not result in…
-
1
votes1
answer176
viewsHow to hide a table line div
Good afternoon, I have a table where I show several values, but I have lines where sometimes I have no number and shows N.A. What I want is to delete a row from the table (div id="ApagarNA") if all…
-
1
votes2
answers517
viewsPass parameters through the url
I’m trying to pass a parameter of my view to my controller by the url and I’m not getting it, as you can see in the code below I’m using viewbag, I don’t know if it’s an error on the route or…
-
1
votes0
answers29
viewsExplode function does not work with 2 line breaks
I have the following problem, I have a text/string in stanzas, example: t is a long established Fact that a Reader will be distracted by the readable content of a page when Looking at its layout. t…
-
1
votes3
answers76
viewsDoubt in the layout composition
Test scenario I would like a layout basically according to the image: What I already have is the "FIXED BAR" and the "TAB MENU". Details In the image in example, I will have a table in the green…
-
1
votes2
answers547
viewsUpdate php variable from one page without reloading it through another page form
I am making a password system in which the attendant can enter the password number and call a customer through a panel. The code you sent me works but not as I expected.. I need to update a page…
-
1
votes0
answers59
viewsUpdate search field on a page after x query time
I’m making a query terminal using Wordpress + Woocommerce, as I will use barcode reader and will have ZERO interaction with keyboard and mouse, I need the field automatically reload a few seconds…
-
1
votes1
answer1211
viewsAccess files outside the project root folder (Web Development)
I’m working on a web system using Docker with Nginx. And I am not being able to access files that are not in the root folder of the project, if possible I would like to understand what is happening…
-
1
votes1
answer56
viewsCreate "border" in div that does not pass through text
I put the edge in quotation mark, because I don’t know if it’s really edge the name of it. I’d like to make that: Stay that way: In the case with the border passing through the text, without getting…
-
1
votes1
answer98
viewsShow value, not form ID
I’m making a system using Python and Django. At one point, I’m showing a table with database information. Follow my html: <tbody> {% for oportunidade in all_oportunidades %} <tr…
-
1
votes2
answers323
viewsPython-based web Scrapping does not provide complete html page information
Personal greetings, I’m trying to use python to get the information from the page http://www.nfce.se.gov.br/portal/painelMonitor.jsp , is a page from Faz where it has the ping status of NFC-e…
-
1
votes1
answer223
viewsHow to style the fieldset tag using id attribute?
I’m trying to put a {background-color: aqua;} on the tag fieldset, using id="003" and addressing the style to the external file .CSS. But no change is happening. When I write to the HTML file:…
-
1
votes1
answer641
viewsPosition of the button in Bootstrap
I’m starting with the bootstrap and I made this code for the site q I’m doing in Django {% load static %} {% include 'links-css.html' %} <link rel="stylesheet" href="{% static 'scrapy/style.css'…
-
1
votes1
answer267
viewsHow to transform the width of an 'infinite' div?
I’m creating an application with multiple columns, each column with multiple labels. On the screen fit approximately 5 columns, at most, after that they start again under the others, like this.…