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
votes2
answers1010
viewsDisplay rows from a table according to filters
I have the code below where I have one onchange that should filter the status of each request (hiding/showing the rows in the table), but it is hiding the header of the table. Code: <!DOCTYPE…
-
1
votes2
answers408
viewsSearch result open in new tab
I have a simple search engine that does the search in html itself, how can I make the search results be shown in a new tab? <input type="text" placeholder="Digite sua pergunta" autofocus…
-
1
votes0
answers65
viewshow to use the Isotope plugin on 2 different grid
how can I use the plugin isotope in two grids distinct. for example I am using tabs of bootstrap in my first tab i have the first loading of the grid and the last tab I got the last shipment from…
-
1
votes1
answer1520
viewsUpdate page when closing a modal
How do I update a page whenever the modal is closed ? because I have a problem that whenever I close the modal and I will open again it does not open... so I need to update the page then it opens.…
-
1
votes2
answers429
viewsRemove CSS image links in @media print
My blog shows the links when printed through a[href]:after { content:" (" attr(href) ")"; }, however I don’t want it to show the image links, since I also removed them from the CSS for printing. Is…
-
1
votes1
answer68
viewsSecurity of a website
I’d like to ask a few questions. My site is protected against SQL Injection attacks because I am using Mysqli with bind in addition to external scripts against this problem protection. And the HTTPS…
-
1
votes1
answer52
viewsPop up to print, keeping the action values
I have a form that when pressing Ubmit it takes the selected value and takes to the target page of the action and opens the page, but overlap the current page, I need to take these values of the…
-
1
votes2
answers569
viewsHow to activate event by clicking anywhere on the screen?
I have a CPF validation and this "event" is activated when I click on the "validate" button". I wanted this "event" to be activated when the user clicks off the input, like he typed the CPF and…
-
1
votes0
answers64
viewsHow to use ng-Hide to hide Pin in google maps?
How do I toggle (Hide/show) for the pins on the map? I am using this library NGMAP: My view code: <div map-lazy-load="https://maps-api-ssl.google.com/maps/api/js"…
-
1
votes0
answers72
viewsHow to get data from a modal page?
I have a main page with a simple form: <div class="col-sm-6"> <label for="tipo">Tipo de sessão:</label> <select class="form-control" name="tipo"> <option…
-
1
votes1
answer142
viewsLoad another html doc instead of the current one using pure Javascript
In this work of the facul, estu making an app with several menus, if I do everything in a single html, will get huge file. So by clicking the options on a given menu, I would like to continue…
-
1
votes0
answers138
views -
1
votes3
answers65
viewsHow to use the output value
I would like to know how I use the value of an input after I use the button ok!, because I need to use the value of the input that will serve as the radius, in order to be able to make the…
-
1
votes1
answer389
viewsHow to align images of different sizes in responsive layout?
I don’t know how to deal with the following problem. I was trying to work with the <li class="filme">, with its responsive size, but as each image has a variable size. When it reaches a…
-
1
votes2
answers28
viewsBackground-color Td radiobutton
I’m having a hard time solving this situation. I have in my table a list with radio button, it happens that when selecting an option, it works perfectly coloring the td Background, but when I select…
-
1
votes1
answer59
viewsIs there any way to add Bootstrap’s "tooltip" to the force?
I have a button on my website Wordpress, or within the posting! Knob: <a href="#" class="btn btn-primary btn-lg btn-block" id="butdedownlaodnovo" data-toggle="tooltip" data-placement="top"…
-
1
votes1
answer52
viewsEvent in a single div with equal classes. How to do?
Greetings. I created some div inside a foreach, all with the same class, inside that div has an element that I wish, when clicked, show another div that is inside the parent div created. However, as…
-
1
votes0
answers930
viewsConvert Base64 to pdf
I have in my application a function that converts the pdf to Base64 and saves in the database and then, I need to return this Base64 and show the contents of the original file.…
-
1
votes2
answers3043
viewsHow to add and remove elements with Javascript
Hello, I wonder how I could add and remove elements to html using javascript (it is not allowed to use something like jQuery), my code is as follows: <!DOCTYPE html> <html lang="en">…
-
1
votes1
answer93
viewsHow to change the content of a DIV if you are using Adblock
Hey guys, on my site there’s a button inside a div: <div class="novolinkdedownload"> <a href="#" class="btn btn-primary" id="butdedownlaodnovo">BAIXAR AGORA</a> </div> has…
-
1
votes1
answer92
viewsHow do these Divs have the same height, but with their content they can be different?
How to make the Divs below have the same height every time? The content is dynamic, time content of the first will be higher, time of the second, I could use Tables, but the content is not tabular.…
-
1
votes3
answers239
viewsError searching for field value - Javascript
I have the following problem: I have a field that I put a value on input and it analyzes whether the value placed inside is within the switch who is in the Javascript. He’s making the following…
-
1
votes1
answer46
viewsdoubt sore or each JQUERY
I’m breaking my head and I can’t find the problem have a table that is created dynamically when I scan it shows the 0 position as null and after that starts to appear normal html screen row creation…
-
1
votes1
answer895
viewsHow to group buttons inside a column into a table so that they do not change when the column is adjusted
I have a table that has 4 action buttons inside a cell of a column. When the names start to get larger in character, the table starts to auto-adjust and in the Actions column, the 4 buttons are…
-
1
votes1
answer155
viewsCentering H3 in Section (Vertically and Horizontally)
I’m having a problem lining up a h3 in the center of section. I’ve tried so many ways but nothing. .BlackSky { background-color: #1C1624; width: 100%; height: 300px; } .StarsSky { width: 100%;…
-
1
votes2
answers47
viewsHow do I create a "+" button that adds new fields to my form
How do I get a "+" button to add new fields in a form? I even found a way to do it here, only I don’t know how to fix it var cont = 1; function newContest(){ var c1 = '<td…
-
1
votes1
answer28
viewsPass values inside <Frameset>
I have two pages, where this receives data, writing the product name and description: <html> <head> <meta charset="utf-8"> </head> <body> <form> Código: <input…
-
1
votes1
answer41
viewsNav-bar logo moves when website and placed in full screen
I developed a Nav-bar Fixed with an image in the center also Fixed, but when I put the site in full screen I realize that the logo also moves, how can I leave the logo fixed regardless of the height…
-
1
votes1
answer187
viewsGrid is not working
Hi, I’m having a problem using a grid.css. Here’s the thing, using the classes to define the columns, it just doesn’t work. I just want to line up 2 columns side by side. I’m using this grid:…
-
1
votes2
answers107
viewsmy dropdown comes off the screen, how do I get it down to the opposite side?
The dropdown of the stroller, comes out of the picture, it is possible to make it descend to the left side? here is the code: @import…
-
1
votes4
answers191
viewsAssign more than one value to a checkbox
I have a relatively trivial doubt, but I haven’t found the solution anywhere. When I declare the following tag echo ' <tr> <td align="center">'.$skill.'</td>…
-
1
votes1
answer41
viewsGallery with skew occupying page width
It’s like, I’m trying to make on my site a section that has 10 degrees of skew, the intention was that this section would occupy 100% of the page width, but when I do skew are the margins coming…
-
1
votes1
answer63
viewsHow to know the current position of an element in the <option>
<!DOCTYPE html> <html> <body> <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option…
-
1
votes1
answer90
viewsNavigation not occupying full size of browser
The thing is, I just noticed an error that my site has, is this, I set the max-width of the page to 1366px, if I zoom out in the browser all elements occupy the full width of the browser. But it…
-
1
votes3
answers59
viewsTake part of the value of the field
hello, I need to take part of the input value function exibir(){ var elem = document.getElementById("campo3").value; var sel = document.getElementById("campo4").value;…
-
1
votes3
answers265
viewsEffect of unwanted scroll
I’m using the tab of the materialize, the switch works normally, but every time I click on a tab moves the page to the top, I don’t know why, I believe it has to do with the smooth scroll effect,…
-
1
votes1
answer55
viewsConsultation system
I have this form to consult only for a period of time or only by the client’s name or to consult for a period of time and a specific client: <form method="POST" action=""> <strong>Data…
-
1
votes1
answer274
viewsPrint text positioned in image
I have a text positioned in the center of an image, the logic is to print a certificate, and this text is generated dynamically, this occurs correctly. The problem is when printing, the text is on…
-
1
votes1
answer3336
viewsVuejs - Popular select with API data
I am having problems to popular a select with the data I have as return of an API. I am using Vue. Follows codes: My HTML is like this: <select> <option value="" disabled…
-
1
votes1
answer27
viewsSection on top of another section
Section contacts above the text of section about us... Why? I have tried everything, margins, paddings, I cannot use z-index because sections cannot have relative or Absolute position... HTML: /*…
-
1
votes1
answer115
viewsAlignment of div’s on the right
I am unable to align the div’s right into my mpdf report. Below contains the report print and code. Below the code: </head> <style type='text/css'> .dados_principais { border: 1px solid…
-
1
votes1
answer1144
viewscreate print button for each table
I have 3 different tables on the same php page and I plan to print each table separately from each other. Code I am using: <?php echo $tabela3; echo $tabela4; echo $tabela5; echo…
-
1
votes1
answer781
viewsChange HTML code via jQuery
I’m trying to enter the following code on this page to be able to change the text that appears when the customer subscribes to the modal newsletter, which appears when the customer is about to leave…
-
1
votes1
answer47
views -
1
votes1
answer421
viewsFull size auto select adjustment via option available
I normally research and do not disturb the patience of the members here, but this time I specifically need an example. See: <!DOCTYPE html> <html> <body> <select id="lista"…
-
1
votes2
answers267
viewsHow to get the value of a select item by clicking on it
In the font shown below, logic fails to capture the click on the element of select returning only the first option, and from the looks of it is an index problem - selectedIndex. Observe: function…
-
1
votes1
answer675
viewsVideo like Background HTML 5 doesn’t work on Safari and Chrome on Mac
I put a video as background of a site with HTML 5, I open in Chrome and Firefox on Windows and the video rolls normal, but when I open on Mac (Chrome version 67.0.3396.40, and Safari 11.1) the video…
-
1
votes1
answer134
viewsError in Opencart purchase button
By clicking the buy button it does nothing, by the console appears the following error Error: Syntax error, unrecognized Expression: #product input[type='text'], #product input[type='Hidden'],…
php html web-application syntax-error opencartasked 6 years, 5 months ago Prime Proj Construções 11 -
1
votes1
answer93
viewsProblems with css :not() attribute
I’m having a problem I’m editing a h2with css and within that h2 has a span but wanted to apply the style in h2but I don’t want style to apply to my span I’m using the selector :not(span) but it…
-
1
votes1
answer2380
viewsHow to place 2 buttons next to each other in the same column of a table in html?
The 2 buttons in the last column of the table are below each other. How do I place them side by side? <!DOCTYPE html> <html lang="pt-br"> <head> <title>Budget</title>…