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
votes3
answers314
viewsHow to stop fomulário sending with Javascript?
I have a form using the form.CheckValidity to check empty fields and not send them. However precise also it compares and does not submit forms with different password fields. I tried everything I…
-
0
votes0
answers520
viewsChange an option of a select according to the choice of another select (HTML form)
Hey, here’s the thing. I have an area of a form in which I select the code of the company, company and also show the taxation of that company. I will show the image of the fields: (my problem is in…
-
0
votes0
answers95
viewsInsert line breaks into HTML for Outlook
Good night. I have a routine that sends emails to users with a simple text, but in outlook it does not recognize line breaks, making reading practically impractical. The line breaking is done by a…
-
0
votes1
answer1424
viewsBootstrap - Overlay Div
I have a doubt and I would like your help, I already researched a lot and did not find a solution. I’m trying to position a div over a div. I found some ways to do this on the internet, however, I…
-
0
votes1
answer71
viewsSend attachment by php form
Hello, I have a PHP file that sends data from my HTML folder via Email. Only that I would like to send attachments also(resume)because it is a page of "Work with us". I’ve seen plenty of tutorials…
-
0
votes2
answers500
viewsJavascript does not work on Nodejs
I have an html page that takes some functions of a Javascript page, but when I open this page by Nodejs javascript does not work. I did the test with simple Javascript and Jquery commands, but both…
-
0
votes2
answers375
viewsOpen javascript in handlebars
I’m making a system using Handlebars on Nodejs, when I try to get my javascript code for it, it doesn’t find it. The solution I found was to send my javascript as a page by Node and then pick it up…
-
0
votes2
answers935
viewsLeave form fields aligned and of the same size
I want to keep these two elements aligned and of the same size. Note that I have already left the two with the same size and nothing: <!DOCTYPE html> <html lang="pt-br"> <head>…
-
0
votes1
answer919
viewsHow to make a DIV occupy the right space?
Good evening, I’m mounting the layout of a learning project of mine, I need to make the div occupy the space equal to blue image below My code is this:: My HTML and CSS are below: @import…
-
0
votes1
answer1137
viewsHow to take an input value and manipulate in Behind
Guys with a difficulty where I need to take the value of a text input and manipulate it in the aspx page’s Cs. I am using repeater to add the data to the table, but while trying to pull the input…
-
0
votes1
answer819
viewsFix div below Navbar - Bootstrap 4
I’m trying to fix a div with a title, below a fixed navbar at the top of the screen. Below is my attempt and example that does not work: <body> <header class="sticky-top"> <nav…
-
0
votes0
answers82
viewsInsert Image into an HTML file
I am creating an HTML file and need to insert an image that is in the Resources for this I am trying to use the following code: private byte[] turnImageToByteArray(System.Drawing.Image img) {…
-
0
votes1
answer86
viewsError including image with <img .../> tag by string in PHP
I cannot make a referenced image in the code below appear. What may be the problem? <style> table{width: 100%;$borda;$fonte;} th{text-align: center;} td{text-align: center;$tam_etiq} tr{ }…
-
0
votes1
answer298
viewsI can’t link, the html file with the css style
Good night. I am trying to link an arquiv.html file to another.css file so that I can use the css style on my html page through an id only that even with the correct tag I am not able to do this.…
-
0
votes3
answers598
viewsHow to change the "src" attribute of a <script> tag using Javascript?
I want it from the same index.html can change your content using two files .js different. In short, I want to change the .js without changing page html, Type: <html> <head> </head>…
-
0
votes1
answer111
viewsButton does not appear
a { color: #fff; text-decoration: none; background-color: #007bff; padding: 10px; display: block; width: 250px; border-radius: 4px; -webkit-text-decoration-skip: objects; } a:hover{…
-
0
votes2
answers316
viewsAdd title next to your corresponding image
I’m learning HTML and CSS and I’m making a site to practice and I’m having a doubt. I want to put the title of the images next to each other. "The best Cookie’s" on the side right of the…
-
0
votes1
answer88
viewsButton Does not answer Javascript command
I have a page that provides a coupon. Ah an image informing that it should be clicked, and when clicking it was for the same copy the text informed in the code. But after I added the pop-up, it’s…
-
0
votes2
answers166
viewsFunction does not change the variable
I’m learning to use functions in php. I created this html, which will get 3 information, Name, race and player class: <html> <head><font face="Arial"> <input type="hidden"…
-
0
votes1
answer347
viewsButton to edit table on click
I am trying to edit the information that has in the columns of my table, when I click on the edit button it opens a modal and already pulls the information of that line in specific, what I am trying…
-
0
votes1
answer43
viewsHow to send a form without using a button
Good wanted when the user clicks off the input the form was sent, and also that the page does not reload my php index. <!DOCTYPE html> <html> <head>…
-
0
votes1
answer551
viewsPhpmailer - Email Formatting
I have a formatting problem when the email arrives in the inbox. Here is the HTML code: $mensagem = " <html> <body> <table>…
-
0
votes1
answer138
viewsAdd date-attribute in Columns using Datatable and Ajax
Good afternoon, I have a code that returns me a table via ajax and I would like to add in all columns of this ajax a data-attribute with a specific value: Example: var atributo =…
-
0
votes1
answer44
viewsProblem consuming API data and transferring a SRC to the ID
I have the following HTML code: <main> <blockquote class="blockquote text-center">Últimos produtos</blockquote> <!-- <INICIO CARDS> --> <div…
-
0
votes1
answer26
viewsRow Striped does not work properly on my *ngFor
I’m trying to apply an effect of row stripped on the lines of a *ngFor but apparently it is being applied in all my Rows. I tried something like: HTML <div class="row ml-4" *ngIf="visivel">…
-
0
votes1
answer51
viewsDistribution of points in html
I made this code here: <div class="snippet"> <p>Habilidades:</p> <div> <label for="Passe">Passe</label> </div> <input type="range" id="start"…
-
0
votes0
answers38
viewsPage Print not centralized
I am facing a small problem by clicking on "Submit" button to print a particular page, but it is not centralized in windows operating system browser. Follow the wrong and wrong printscreen(the…
-
0
votes1
answer69
viewsPlacing information within the specific user
I need the registered user to have access only to his contract user 1 contrato1 user 2 contrato2 I already have the contracts in . doc I need that when the user logs into the.php panel he can see…
-
0
votes1
answer51
viewsDoubt in Javascript when creating dynamic Ivs
I made a code that adds a set of fields within a form, when prompted by a button, and some of these fields use js functions to create masks (for CPF, rg, CEP), the problem is there, these mask…
-
0
votes0
answers40
viewsAdd dollar sign and complete value that was consumed by an API
I have following problem my page, I would like to show up R$ and that the amount was completed. I have the following HTML: <!-- <INICIO CARDS> --> <div class="primeira-card">…
-
0
votes1
answer102
viewsModal does not load the data that is coming from the database correctly
Good morning. Guys, I got a little problem here. I am showing in the view a table, where if a column has a certain status will show a link to open a model where will be shown the data that are in…
-
0
votes2
answers58
viewsHelp Require Node
It all starts when I try to receive a JSON from the CNPJ API, I am using Node and consequently NPM and thus using AXIOS to receive JSON. Okay, all right until then. However, I want to take the json…
-
0
votes2
answers36
viewsProblem in return after sending data! HTML & PHP. I thought echo would appear when sending the data, but nothing appears
<!DOCTYPE html> <html> <head> <title>Exercicio 3</title> </head> <body> <?php $km = $_POST['km']; $valcombu =$_POST['valcombu']; $gaston…
-
0
votes0
answers33
viewsSelect list to db import problem
Well I’m having trouble importing a select list to db, I configured but still gives error, no matter the selected item follows the codes: <?php session_start(); ?> <!DOCTYPE html>…
-
0
votes1
answer151
viewsImage gallery with wide open image and side thumbnails
Guys, I developed this layout, follow the code and an example image: <div class="col-xl-6 pr-0 d-flex align-items-center"> <div class="col-xl-3" style="float:left;"> <div…
-
0
votes2
answers369
viewsCenter an element with position Absolute
I’m trying to center a button on my card. I’d like to get that result: need to be with position Absolute because the other cards sometimes have larger description and the "See details" button gets…
-
0
votes2
answers50
viewsHow to query 2 columns in a single input text
Hello, How do I use a single input text to query 2 columns? Currently my code has an input=select and an input=text but in the text I want to see 2 columns.. how do I do this in the sql query? Note…
-
0
votes1
answer45
viewsWhere’s the mistake I made?
I don’t know where my mistake is, my code seems very solid, but I can’t run it on Chrome const firePixelsArray =[] const fireWidth = 10 const fireHeight = 10 function start(){…
-
0
votes1
answer51
viewsBring model value to Textarea
I have the following page cshtml @using SoftluxWebCore.ViewModels.Tabelas @model SoftluxWebCore.ViewModels.Tabelas.MensagemViewModel <!-- Link to CSS --> <link href="~/css/Geral/create.css"…
-
0
votes1
answer639
viewsUse position Absolute to always leave element at the bottom but without overlapping another element
Currently I have a sidenav made with Angular Material. I have a list with menu and submenus, and at the end I have a logo. My problem is that when all the menus inside my sidenav are opened, they…
-
0
votes1
answer163
viewsUse 2 Onkeyup in the same Input
I got a Javascript code that fits me perfectly, but it is divided to be used in two inputs, but I need him to be executed in it input. Below is the code. It runs in the event OnKeyUp, then I wonder…
-
0
votes1
answer11633
viewsIncrease input size
Does anyone know how I increase the size of the input below ? <td> <div class="input-group"> <span class="input-group-addon">R$</span> <input type="number"…
-
0
votes1
answer56
viewsLoss of information when ordering a datatable inside a Modal with AJAX
Good Afternoon. I have an action list that opens a modal and displays a series of pagination information within a datatable, and I want to give the user the option to sort this information, but when…
-
0
votes1
answer319
viewsButton fixed to the side of a container
I have a container and inside I have columns that have cards inside. I need my button to be fixed to the right of the cards, but you should only follow the scroll of the screen in this container. My…
-
0
votes1
answer330
viewsChange chart language Amcharts
I have the following chart // Themes begin am4core.useTheme(am4themes_animated); // Themes end // Create chart instance var chart = am4core.create("chartdiv", am4charts.XYChart); // Add data…
-
0
votes1
answer806
viewsJavascript transition with css
Hello, Good Night! I am developing a web site, and watching a video class I managed to create a slide in Javascript, only I need it to pass with a slower Transition because it is very fast passed…
-
0
votes1
answer828
viewswindow.onload property interferes with loading several scripts?
The estate window.onload () = () => { //Executa algo } Can it only be in a script? Let me give an example for the best understanding. If I have 3 scripts called: mail js. js test. something.js…
-
0
votes1
answer38
viewsWhen the person chooses something in select display an image on the form side
I am making a form in which the user will choose a background image, I wanted that when she chooses this image in select to display on the side or below a thumbnail of it, searched a lot on the…
-
0
votes1
answer183
viewsLegend in form-group bootstrap
Does anyone know how to leave the form caption below within the border line ? That is, I would like the legend to be within the outline line of the form. <legend>Filtro por data</legend>…
-
0
votes1
answer227
viewsVuejs - v-if and v-Else chained
Good afternoon, everyone, I have the following html: <template> <div v-if="!visibleForm" style="min-height: 793px;"> // conteúdo .... </div> <div v-else-if="visibleForm">…