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
votes0
answers27
viewsLine break is not occurring when exceeding container size
I have a Paginator inside a container-Fluid, it turns out as the Paginator has many pages, he is not performing the line break, happening this: I tried to apply on my div: word-wrap:…
-
0
votes1
answer44
viewsDifficulty Positioning Background Image
[![insert the image description here][1][1]Gentlemen(as), I am trying to position an image to the background of my project, but when using the cover the same cuts the bottom, and when I use any…
htmlasked 6 years ago Gabriel Paixão Justino 287 -
0
votes1
answer79
viewsProblem sending email with HTML in your body using PHP
The code works in parts, sends everything normal, fills and the like, the only problem I’m having is in $body, when the email arrives in the email, the HTML code is displayed and not how it should…
-
0
votes1
answer57
viewsEnable field when page loading if input is filled with specific word
I have a registration form that when clicking on document type, if "RG" has a function in JS that shows a field that is defined in css as style="display: None". However when loading from the base…
-
0
votes0
answers26
viewsAccentuation Problems - PHP and HTML
I have checked on several sites, I did several tests and so far I could not solve my problem regarding centuação in php. I receive a small text in a variable, but when comes with accent appears very…
-
0
votes1
answer65
viewsHow do I bring a select of values defined in a Controller in angular.js?
I’m sorry, but I’m a layman and I’m starting! In HTML, I want to display the data defined in an angular controller class. As below: $scope.tiposCategorias = [ { id: 1, descricao:'Processados'}, {…
-
0
votes1
answer29
viewsAdd a fixed image sequence in PHP
I own this code: <table class"is-bordered is-striped is-narrow is-hoverable is-fullwidth"> <tr align="center" id="title"> <td>POSIÇÃO</td> <td>NOME</td>…
-
0
votes1
answer206
viewsFixing an HTML table without allowing resizing
I have a calendar of events where the user clicks on a date and opens a modal to register. But when a schedule is included, it stays that way: Note that on day 03, despite having limited the…
-
0
votes2
answers267
viewsHow to know if a person has clicked on a DIV or not
I have an ad and I want to know if the person has already clicked on the ad in the last 2 days. If it has already clicked, it does not appear but, if it has not clicked, it still appears. Something…
-
0
votes1
answer93
viewsReturn the Array to green. When the button is clicked, return the value immediately above the button
Return an array with each green value on the page load (show in console). When the button is clicked, return the value immediately above the button. <!DOCTYPE html> <html lang="pt">…
-
0
votes1
answer55
viewsSimulate Angular Binding with Pure Javascript
You can simulate Angular data Binding in pure javascript? Example: <!DOCTYPE html> <html> <script…
-
0
votes1
answer104
viewsI click the button and do not add the div - C# Asp.Net
I click the button and it does not add me to div, but sends it to the database, someone can help me? C# protected void img_btn_enviar_nome_Click(object sender, EventArgs e) { UtilizadoresBot…
-
0
votes1
answer403
viewsPhp post approval system
I am creating an approval system of posts middle in "Gambiarra", what I did is, when the user makes a post, it receives the value '0' in the table 'Status' in the database. So, I have a restricted…
-
0
votes1
answer3539
viewsChange CSS property in Typescript (Angular)
I have a list that when I click on it, I need the display: listview be exchanged for display: none. My list is composed this way: <li class="sub"> <a class="dropdown-item waves-effect"…
-
0
votes0
answers245
viewsHow to detect collision in simple html, javascript?
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Jogo</title> </head> <body> <canvas id="jogo"…
-
0
votes0
answers70
viewsCalling HTML snippet in Javascript
I am using Django Framework for an application that searches videos on youtube. But there is an excerpt of JS, which calls an html where "embeds" the video searched. And I don’t know how to create…
-
0
votes1
answer134
viewsReturn Data from MYSQL (Data) to HTML Tables
could you kindly help me with the following mistake: Recoverable fatal error: Object of class Datetime could not be converted to string in C: xampp htdocs Portalpib query transactions.php on line…
-
0
votes1
answer66
viewsScroll internal content div with Ionic edge
How to make the internal content of a div specific has scroll when the text is larger than the area? I was suggested to use the following code: html: <ion-content id="contrato"> <div…
-
0
votes1
answer98
viewsError in JSP page
Good evening, everyone, I am making a page in JSP, where the user informs 2 values and through a method, I do the sum of these 2 values and presents just below the value of the result. However the…
-
0
votes1
answer61
viewsJquery script only works after page re-load
I have a jquery script that only works after page re-load. Why does this happen? My script: $(document.body).ready(function() { $('.list').each(function(index){ var topli =…
-
0
votes1
answer147
viewsvalidation of fields with javascript?
Good evening people, I would like to know how to validate the fields by javascript for the name fields, email and phone. for the name, Cpf or cnpj and phone fields I managed not to allow numbers for…
-
0
votes0
answers282
viewsDefault option in select does not appear
I have a select I want to show a label as default option, but it is appearing blank. My select: <div class="select"> <select (change)="calculaMes(mesEscolhido)" [(ngModel)]="mesEscolhido"…
-
0
votes2
answers112
viewsAdjust Section [Position: Absolute]
People, I’m doing a website as a college project, but I’m picking up a little bit to solve a problem with the positions of the elements. I have 3 sections, one adjusted to be Header, one adjusted to…
-
0
votes1
answer209
viewsHow to create Divs within Java and use Json
I am trying to create and fill several html cards according to the return Json I have of a PHP file, I have Javascript that takes the Json array, my doubt is how to create several cards within this…
-
0
votes1
answer487
viewsHow to block retroactive dates in input datetime?
I have a form with a input of the kind datetime-local and I need to block the insertion of retroactive dates, how do I do this? <form name="F1" id="edit-profile" class="form-horizontal" action=""…
-
0
votes1
answer128
views -
0
votes0
answers21
viewsAngular animation only works in the "enter" transition
I’m trying to put a fadein/fadeout effect, but it’s only working the fadein, when it happens the element disappears instantly. I tried to: @Component({ selector: 'app-confprecificacao', templateUrl:…
-
0
votes1
answer136
views -
0
votes1
answer212
viewsHow to put an if inside the Javascript append
I made a javascript to assemble a card and fill with information from a json, I need to check if there is an image in the indexes of the json array so that if I don’t have it I can set a default…
-
0
votes2
answers136
viewsPrevent DIV from changing a defined size
I’m trying to put together an HTML page to print a label with 80mm x 40mm. It’s working, but when the person’s name is too big the label loses alignment, consuming 2 labels. I need to lock in the…
-
0
votes1
answer332
views -
0
votes1
answer59
viewsDomain forwarding on Godaddy
I have a domain at Godaddy: dominio.com I set the domain to redirect to: outrodominio.com/~meu_nome This page exists and works perfectly (as well as redirect). However, when I call the URL:…
-
0
votes1
answer109
viewsInput field selection with Jquery
all right? Can you give me a help related to the selection of text typed by a user in a form? I’ve tried some solutions I found here, but they didn’t work. I’ve also tried different approaches with…
-
0
votes1
answer158
viewsI cannot align <thead> with <tbody> in my table with SQL query
I have the following table header: <?php echo ' <div style="height:65px"> </div> <table id="oie" border="1" class="minha-table"> <thead class="headerr"…
-
0
votes1
answer45
viewsElements disappearing when you enter responsive mode and only appear when you click it
As soon as my page is loaded, all the elements that fit on the screen are rendered, but as you scroll down the screen a little bit, the elements are not shown, they are only rendered when I click on…
-
0
votes2
answers56
viewsNav doesn’t float right
The buttons of my navbar do not float right. I have tried applying the float: right in the menu and also in the items but no use. .container{ width: 100%; height: 100%; overflow-x: hidden; } body{…
-
0
votes2
answers36
viewsDifferent titles for each slideToggle
I would like to change the code I have here, so that instead of appearing "Reveal Content" in all lines of the slideToggle, I can put each one with a title, for example " Revision 1", then the next…
-
0
votes2
answers64
viewsWhy doesn’t the loop print up to the last value that was entered as the limit?
I made a code that prints a sequence of numbers, from the number typed to the end, but when printing it the last number is not appearing. Example: first number typed is 3 and the second is 7. The…
-
0
votes2
answers690
viewsChange an image every click
Good people, I have a problem here. I searched here and on the Internet several times and I did not have an answer that would help me enough, I still have doubts. I have a website and I have…
-
0
votes1
answer44
viewsmy question is about the error: Uncaught Referenceerror: createSlider is not defined
I’m doing a game in the style of "Flappy Bird" but I’m having a problem with Slider, the project is not my original he comes from the channel "the codding Train,Coding Challenge #41: Clappy Bird!"…
-
0
votes1
answer469
viewsforeach inside the foreach without repeating the data
I have a list of Employees and each employee can have many Cost Centers. And when I bring the bank employee information I need to list the cost centers and list the cost centers where the employee…
-
0
votes1
answer43
viewsImage of duplicated opening Collapse
Recently I was able to solve a problem of putting an image and when I clicked on it, it became another, and when I went to pass the code to the other collapses, it happened to me: Closed collapse…
-
0
votes1
answer35
viewsI am unable to change the contents of my button
I’m trying to change the text of my button when I click on it, but I’m not getting it. My code: function altera(argument) { document.getElementById('novo').innerHTML="atualizou"; } <!DOCTYPE…
-
0
votes2
answers35
viewsAm I having a problem in the Manytomany relationship in Dallas if someone help me ouder?
I’m sorry but I’m new to Latin, you’re making this mistake when I try to view the page:`Trying to get Property 'name' of non-object This is my controller public function index(){ $medicos =…
-
0
votes1
answer26
viewsImage does not change when you click it, only in the text
I’m having a problem, I have a project with several collapses and to indicate opening and closing of the collapses, I put an arrow to the right and while clicking on the text, it turns down and the…
-
0
votes1
answer320
viewsHow to check if an id exists on the page
made a Javascript that generates several cards each of them with an id, to avoid creating repeat cards I put an if before the generation of cards to check if it already exists, but it did not work:…
-
0
votes1
answer1773
viewsHow to pass data from one input to another with HTML and Python?
Guys, I have a problem in my application and I can’t find the solution on the internet. I’m making a web application in which I need to get some user information and to improve the experience, I’m…
-
0
votes1
answer84
viewsproblem with a bootstrap footer 4
Well I’m trying to make a footer, but I’m in trouble, when I zoom out it doesn’t end up at the end of the page like this: how are: html : <div class="container-fluid pt-4 pb-1 xd"> <p…
-
0
votes0
answers53
viewsHow to store </br> and n in the database, and then show in HTML when it is called?
I’m storing it in the attribute off_desc the description of an offer, but even if in Textarea I insert line breaks, in the database and in HTML (When I try to collect the data), they are all shown…
-
0
votes2
answers397
viewsSum values of a column td
I would like to know how to calculate the values of a column and play in a field. They are automatically loaded This is the table html. I want to add the column values valuables and play on the…