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
-
0
votes1
answer90
viewsExtend the image outside the container on the left side
I have a container, and it has a split block in it. On the left side I need to get the image out of the container. Would be this model: With this structure: <div class="blog_section"> <div…
-
0
votes0
answers198
viewsHow to include js file in html project?
In my project, I’m trying to include a . js file, but it’s showing the error Uncaught SyntaxError: Unexpected token < every time I include the file as follows <script type="text/javascript"…
-
0
votes1
answer656
viewsHow to repeat a snippet of html using a repetition loop in php?
<div class="container"> <form method="POST" action='enviaMform.php'> <div class="form-group"> <label for="nomeHost">Host que pretende monitorar:</label> <input…
-
0
votes1
answer55
viewsSave FORM Information to the same Page
I would like a very brief help, I am making a form for sending resume with HTML + PHP, I wonder how would be done the following to add a course. (1º we added a course) , (2nd place course…
-
0
votes2
answers45
viewsHow to use data from another site via LINK/ID
I need to know how it is possible for me to fill out data on my site with data from another site. Ex: My site has the fields ('Title, Image, Tracks.') And there’s a site with a database with the…
-
0
votes1
answer178
viewsSend Resume formatted with php
I’m creating a form for a company to register curriculum and it’s already working, only I did to generate the resume and print, someone could tell me how it would be done so that, by clicking send,…
-
0
votes1
answer43
viewsHow to make image respect page content
I was able to align my image through this topic Align text after image , only that the image sits on top of some other content of the page, as I could arrange? My div: <div width="10%"…
-
0
votes1
answer38
viewsAdd to select and display on screen
I have a select: <select class="form-control" id="dataInstalacao"> <option value="0/0" selected disabled>Quando podemos instalar?</option> <option…
-
0
votes1
answer131
viewsForeach with the mPDF library
Hello! I’ve got a boring problem I can’t seem to solve. I need to include a foreach in my report using the mPDF library, but I couldn’t find a way to do this in the middle of the HTML code I had…
-
0
votes0
answers40
viewsEmail sent with PHP coming up blank
I have a resume registration form for a certain company, the HTML ID is all and the PHP Code is attached. only the information that is written, not taking the values of input or select. Can anyone…
-
0
votes0
answers195
viewsTooltip when mouse over map
I’m trying to make a tooltip appear by hovering the mouse over a part of an image, but it’s not working, I tried it in two ways: The first was to put title in the image map, it appears the tooltip,…
-
0
votes0
answers465
viewsPHP, how to write blank Date field in database?
my situation, is the following on localhost, bd, ignores the letters of the date field (dd/mm/yyyy), but when I go up to the server, it error, because I’m sure it tries to save the letters of these…
-
0
votes1
answer56
viewsBootstrap Responsiveness - Grid Issues
Hi, I’m developing a site and I need to fix this piece to stay this way on mobile But if I make a change to make it good in low resolutions, it ends up ruining the larger versions. Follow the code…
-
0
votes1
answer915
viewsHow to insert an HTML file into a PHP variable?
Fala galera, I have a file called post_forms.phpthat picks up the results of $_POST[], must fill variables inside the file form_xxx.html, create a PDF with Dompdf lib and send with Phpmailer. See a…
-
0
votes0
answers363
viewsScreenshot Capture (Map)
Guys I put a map on my site and I want to make a button that generates a png image when clicked on it, I used html2Canvas but when I click it can not save the image of the map. Code used:…
-
0
votes2
answers744
viewsBackground color on calendar specific days and times
I have this calendar as shown in the image: I intended every Tuesday from 2:30 to 5:30 and Thursday from 10:30 to 12:00 to appear with a different background color than the rest of the days. This is…
-
0
votes1
answer209
viewsCopy by Javascript and HTML Tag
I have four HTML files and within them have several tables <table>. I am trying to put at the end of each of these files a code to copy only the tables, so that later I can paste in excel and…
-
0
votes1
answer735
viewsPosition Fixed mixing margin
When I set my header#header header as Fixed position, it took the style (for example the margin) of div.interface, I don’t understand why this happens, I want my div.interface to have…
-
0
votes1
answer91
viewsSlide transition
I have this code (Internet model) automatic slide transition. I wonder how I would put the effect "Fade". <img class="mySlides"…
-
0
votes0
answers43
viewssetcustomvalidity tooltip position
I have two inputs with setCustomValidity. In the first input the setCustomValidity tooltip appears correctly aligned to the left, as in the image below: But in the other input it appears aligned to…
-
0
votes1
answer149
viewsClose Dropdown submenus when closing the Main Dropdown
$(document).ready(function(){ $('.dropdown-submenu a.sub').on("click", function(e){ $(this).next('ul').toggle(); e.stopPropagation(); e.preventDefault(); }); }); .dropdown-submenu { position:…
-
0
votes1
answer119
viewsHelp with foreach on jsp
I’m trying to make an if in a jsp file, but I can’t print out all the values that are in the products table. For some reason my code only prints the first product and in the table I have 3 products.…
-
0
votes1
answer251
viewsMulti-line jsPDF header
I need to generate pdf from a table, only my header has several lines and my code is overlapping those lines, follow picture: I need each tr to be in a different line, as it would be possible? var…
-
0
votes1
answer39
viewsselectize js is behind the input
I’m using selectize and I’m having a problem imput is behind my table and the states only the first is on the white background the others are transparent someone knows how I can solve this? Follow…
-
0
votes1
answer51
viewsReturn variable inside if to move to view
i want to write a code so that the user chooses an ID in a combobox and specific information is shown in HTML, but I need to do an if to know if the chosen provider is A, B or C, but I can’t return…
-
0
votes2
answers51
viewsHow to maintain the presentation of modal data
I developed a screen that presents the benefits granted to the citizen, system aimed at social assistance, follows the view : <!--onblur…
-
0
votes2
answers39
viewsI need to create a shape via css so that the user knows he has selected a button
My company has a WP template granted by another in which we do not have access to FTP, only CSS edits. But clicking on select the page does nothing. I tried to add a color change to the button, but…
-
0
votes1
answer1734
viewsHow to insert <script> in angular? Simple HTML works!
Guys, my . html Component is like this: <script> window.onload = function () { var chart = new CanvasJS.Chart("chartContainer", { animationEnabled: true, title:{ text: "Monthly Expenses,…
-
0
votes1
answer180
viewsErrors with js table filter and paging
I found some practical errors running my code and don’t know how to fix it. Follow the code below: <div id="divConteudo"> <?php $con_string = "host='***' port=5432 dbname='***' user='***'…
-
0
votes0
answers112
viewsHow to update a <select> with data from another <select>
I would like to know how to update a select with data from another. I currently use SQL, I already have a connection created: $connection = new COM("ADODB.Connection"); //instancia a classe de…
-
0
votes4
answers247
viewsHow do I enter this into the database through the form?
Hello, I’m having trouble connecting to the database. The following error is appearing: Fatal error: Uncaught Error: Call to Undefined Function msqli_query() in C: xampp htdocs Data clients.php:15…
-
0
votes1
answer932
viewsCenter text within a fixed HTML CSS header
Guys may seem silly, but I can’t center the text of my menu(It’s a little lower than up), I’ve tried padding, align: center, margin, I don’t know why this happens, who will answer please take the…
-
0
votes1
answer72
viewsShow mysql database data in a php/html page
I have a problem showing data from a database table on the screen. I was able to show the data but I can’t jump the line, show the data sequentially, code below. $sql = $connection->query("Select…
-
0
votes1
answer937
viewsAdd and remove classes in Angular
I have a card that will appear on certain occasions. As an effect I am using the bootstrap design material to give a Zoomin. I am using ng4-clickout to when click out of my element it apply the…
-
0
votes0
answers51
viewsItems on the screen dynamically, regardless of screen size
Good afternoon. How can I get items to be in the same place regardless of the screen used for the display? I use a 14 inch screen, when it displays the screen on a larger screen, the items are…
-
0
votes1
answer1309
viewsHow to create dynamic input within form
First of all before you say you already have answers, I looked before and I didn’t find. Next, I want to make one form, with several dynamic inputs where the person chooses a garment in each input…
-
0
votes0
answers27
viewsText type input element dropdown with javascript
I’m developing a login page, but the dropdown style of <input> changes in each browser. I have been searching and found that there is no way to change its style with CSS, because that style is…
-
0
votes1
answer400
viewsHow to place the table in a certain position
Well I created a main div and I put a left and right part, and I will make a table of the Brasileirão on the right, and on the left what I will put in the image below My code <!DOCTYPE html>…
-
0
votes2
answers78
viewsJavascript error while trying to remove element
I made a method to remove an item from my table HTML which is supplied by a standard form but the information goes to the table in question... Until then everything normal, but when removing a new…
-
0
votes1
answer88
viewsWhy doesn’t it list with innerHTML?
'Cause when I put document.write within the for The list of innerHTML he only sends the last position in the div? I was wondering how do I do for the for print within the div from the beginning to…
-
0
votes1
answer209
viewsHow to send formatted HTML message to outlook via Form
I am having a small problem, I am trying to send via Outlook an email from a Send via Form, however when it goes to Outlook appears all messed up: "comment=ção são é é". <form…
-
0
votes1
answer51
viewsHow to make multiple images responsive
section { font:bold; text-align: center; } h1 { font-size: 30px; text-align: center; color:…
-
0
votes1
answer55
viewsHow to create a filter with images?
I am creating a project that lists several images of establishments, I want to create a filter so that I search the name of the store and appear only her, or research the type of cuisine, distance…
-
0
votes1
answer645
viewsAngular 6 How to leave default field in select?
I’m trying to leave one of the option elements as Selected, but I can’t get it to work at Angular 6. app.component.html: <select [(ngModel)]="marcaSelecionada" class="form-control" name="marca"…
-
0
votes2
answers72
viewsValidation of HTML variable
Good afternoon guys, all right? I received an internal project and I’m not getting to finish. I have this excerpt from an HTML page: <span style='font-size:9.0pt;…
-
0
votes1
answer191
viewsCollapsed menu after selection
I’m having doubts in the collapsing menu of bootstrap 4.1, when the layout is on smaller screen and collapsed, after selecting an option it does not collapse again, does anyone know how to do to…
-
0
votes0
answers136
viewsBody with 100% height does not work with auto div height inside
My CSS: * { margin: 0; padding: 0; border: 0; font-family: 'Roboto', sans-serif; } html { height: 100%; width: 100%; } body { height: 100%; /* 707.38px */ width: 100%; background-image:…
-
0
votes2
answers1556
viewsJquery to add element in the.append function div
Good afternoon, I’m trying to add a direct element in a div. Only that apparently the . append function, needs a div and another element. The problem is that the element that comes before is…
-
0
votes1
answer148
viewsCheck and display message if the date is less than the Current Date
I have a field on my system where I would like to display a real-time message if the date typed is earlier than today. It wouldn’t be a validation, just show the alert. I’m having difficulties with…
-
0
votes0
answers66
viewsParallax with two layers when scrolling mouse
I’m trying to do a two-layer Parallax and I’m not getting it. What I want to do is similar to the site https://willianjusten.com.br/exemplos-de-sites-com-parallax/. I want the background image and…