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
votes2
answers189
viewsIs dynamic HTML via BD bad practice in PHP?
I’m creating a platform where I need to change elements of the site by a control panel, and for example, it would be something very bad way insert into BD and pull via PHP? Let’s say I have a menu…
-
0
votes1
answer40
viewsContent in the same line when pulling mysqli
I host a text field in my database, with my space between paragraphs. However when I pull it to insert without being in textarea field it comes all in one row only, without spacing. Goal: Bom dia…
-
0
votes2
answers31
viewsProblems recording and solving the calculation
I am unable to record the value typed in input and then solve the calculation. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> <form…
-
0
votes0
answers211
viewsBlank pages - wamp server
Hello! The day before yesterday my Wamp Server started a strange bug where all the pages of the project, including phpmyadmin, went blank. No mistake, white only. What I tried to see if it solved:…
-
0
votes1
answer76
viewsLink with ajax result does not accept click
I have the following matching ajax call: $(document).ready(function() { $(".atualizarAjax").click(function(){ var id = $(this).attr("data-id"); $.ajax({ type: 'GET', url: "<?= HOME…
-
0
votes2
answers37
viewsTable does not want to be vertical
I wanted to know what I’m doing wrong, because I created a table in the template taking information from an api. Wanted to order themselves vertically and not in the orizontal. <!Doctepy html>…
-
0
votes1
answer221
viewsDisplay calendar with PHP with certain conditions
I’m starting my PHP studies ,and I have the following challenges: Show Sundays in red and Saturdays in bold. Make the calendar start on a day that is not a Sunday. but I have no idea how to do that,…
-
0
votes1
answer35
viewsHelp with a Javascript mask for a form
One of the form fields requires the following validation: It must contain 6 numbers, the last of which must be the result of the sum of the others. If this sum is greater than 10, all digits of the…
-
0
votes1
answer56
viewsCodeigniter - Retrieve bank categories
I have a table ''category'' in the database and it has the column 'id' and 'title', I am recovering the same in several menu’s dropdown, but loads all categories of the database but I would like to…
-
0
votes1
answer1554
viewsList directory files in a table using php
I have this php and html code that lists files from a folder, but I would like to put the results in a table, but for each row is being repeated the column title, Directoryiterator managed to solve,…
-
0
votes1
answer26
viewsAll Divs close when I click to open another but one does not close
All other Ivs close when I click to open another plus div Home does not close <nav class="w3-sidebar w3-bar-block w3-red w3-center w3-padding w3-animate-left" style="width:300px;"> <div…
-
0
votes1
answer119
viewsError every time I make a Flask Requests
When I make requests from an Api to show the number of players in my template where "For in range (200)" returns the data and not the error. <table class="cor"> <tr class="fundo">…
-
0
votes0
answers40
viewsHow to adjust a custom text editor to mobile version
Is there any way to adjust an editor on the screen, in the mobile version, without using css: zoom:0.1 or transform:scale(0.1). I need to make the CSS element: .main{} which is CSS of the container…
-
0
votes3
answers41
viewsProperty and Object Javascript
Because he can’t read the property? objetoSelecionado = document.selectForm.variosDias; <form name="selectForm"> <select name="variosDias" multiple> <option…
-
0
votes1
answer79
viewsAdd size column (Mb) in php script that lists directory files
This php script lists files in directory, would like to add the file size column in Mb, but am not succeeding, follow script: <?php $path = "arquivos/"; // Título echo "<h2>Lista de…
-
0
votes1
answer38
viewsCreate title for two columns
I have this code to create the following tables side by side: echo '<div><table border="1"><tr><td>'; echo '<div><table border="1" style="width:150px"> <td…
-
0
votes3
answers100
viewsAlign titles in html
I have this image where I want to align all titles surrounded by red at the same level: Code: echo '<div><table border="1"><th colspan="2">Infância</th><th…
-
0
votes2
answers34
viewsJavascript/Jquery effects not working when creating table in HTML
Good morning to all, I have a problem when displaying a table in html, I want to add an effect while it is presenting for example I am using $("#delayed"). click(Function(){ $("tr"). delay(1000).…
-
0
votes1
answer494
viewsSave to database via javascript
My doubt consists in the following, I have the following form <form name="frm_warning" id="box-register" method="POST" action="controllerWarning.php"> <h2 class="m-t-0…
-
0
votes2
answers125
viewsHow to disable an option when creating it with jquery
vetorAux = ["CARROS","Ferrari","Porshe"]; vetorAux.forEach(function(item){ $('select').append('<option>' + item + '</option>'); }); <!DOCTYPE html> <html> <script…
-
0
votes1
answer642
viewsHow do you leave objects side-by-side coming from *ngFor?
I have this situation: <div class="row"> <div class="col-lg-12"> <!-- 1 Primeiro cartão, 1° objeto --> <div class="card borda-card" *ngFor="let evento of eventos"> <a…
html twitter-bootstrap angular twitter angular-cliasked 6 years, 5 months ago Rafael Souza Calearo 191 -
0
votes1
answer39
viewsSlider occupying more than 100vh
I have a problem, I added a slider to my header but it happens that it occupies more than the 100vh I gave, still occupies a little section below the header. Above that section he occupies I had a…
-
0
votes3
answers62
viewsHow to use a button along with a function?(Javascript/HTML)
Hi, I’m writing a page with a Paper Stone or Scissors game. And I would like the user to be able to choose between the three options through three buttons, which when clicked call a function that…
-
0
votes0
answers58
viewsI have a website and would like to receive messages from the site in my email, how do I?
how do I receive messages from users of my site in my email? <form class="form mb-5" method="POST" action="https://formspree.io/[email protected]" style="color: #fff"> <div…
-
0
votes0
answers72
viewsSaving PHP and HTML data
Next, I have a form here when filling it I use PHP to validate the data and save in the Mysql database. However, I enter the normal date and when viewing the table of the saved data, the date is the…
-
0
votes2
answers703
viewsquote and quotes in a string (leaving " or #39; in the View)
I’m trying to put the following text in a string, but I can’t... when I can’t find the wrong double quotes in the arroba... I’m going crazy. Can someone help me? ,{ "@type": "Listitem", "position":…
-
0
votes1
answer68
viewsHow do I check if an html file was generated in ftp and was generated, open it in the browser?
I have a form, after filling and sending the form, a file is generated csv with the form data, the file is sent to an application on the server where it does the proper calculations and generates a…
-
0
votes2
answers42
viewshow to show the result of an sql in different <Section> files?
How do I make projects belonging to the same department stay in the same department? $sql = "SELECT d.nome, p.titulo FROM projeto p, departamento d WHERE p.dpto_id=d.id ORDER BY d.nome, p.titulo";…
-
0
votes1
answer237
viewsReact Native Maps - CSS HELP
I’m trying to get an icon under the mapview in my project, so: But now it’s like this: Code: <View style={styles.viewMaps}> {this.state.ready && this.state.region &&…
-
0
votes1
answer66
viewsHelp with PHP and HTML
I am learning php and html and would like some help if possible, of course. I am creating a table according to some variables passed as parameter and when it is created ! I would like to remove…
-
0
votes1
answer204
viewsProperty . length of json object returning number out of reality
I have a json array with two property objects, an id and an email, and it has only three ojets within that array, but the number returned from the length property is 152. Can someone help me?…
-
0
votes1
answer117
viewsNavigation and Sticky Nav
I’m trying to make my navbar Sticky when it comes to the section after the header, but I’m not getting it, I’ve researched several ways, but the navbar gets very buggy... First problem is: When…
-
0
votes1
answer865
viewsRequests, Beautifulsoup <Tables>
I have a website that wants to extract specific data from a table I want to extract all information that has "PROLONG". My difficulty is that all tables have the same name in the "class"…
-
0
votes1
answer99
viewsSend information without finalizing the form (Submit)
I have a form in html and I need to fill the fields and click on the "Next" button to send the form by email without the person noticing, because the form continues in the next steps... <div…
-
0
votes1
answer24
viewsReplace no `contenteditable` does not play the end pro pointer
I’m trying to replace contenteditable, it replaces but does not play the pointer pro end, always keeps at the beginning. I did not know contenteditable yet and did not find anything 'simple' that…
-
0
votes1
answer90
viewsGeneralize a Javascript dropdown function?
Hello, I’m having a certain difficulty to generalize a dropdown function, I imagine I’m doing something very wrong, I searched on forums and did not find the answer so I’ll open this topic. My code…
-
0
votes1
answer576
viewsDifferent font on mobile and desktop
In my CSS I put the font Poiret One in the menu of my site. But when I open it on the mobile phone, the font is totally different. Desktop Menu Menu Mobile My CSS is like this: .menu a{ font-family:…
-
0
votes2
answers161
viewsKeep data in the PHP form textbox | HTML
I have a form, but when I submit the form, all the data in the textboxes disappear, I want to know how to keep the data in the textboxes after submitting, so that the user does not have to enter the…
-
0
votes1
answer71
viewsHow to change color in html
I am trying to change a snippet of HTML code to red, but the code below is not right. I thought that color="red" would work. Note: this is html embedded in javascript. When I remove the color…
-
0
votes2
answers533
viewsHow to create a script to automate link exchange in HTML?
I am performing maintenance on a system that has on a page hundreds of links as follows: <li> Revista alvo <a href="http://exemplo.com"> http://exemplo.com </a> </li> Note…
-
0
votes1
answer434
viewsHow to pass the html script to css?
Some sites like the w3schools, when providing some code, keep the script on the same html code page. How can I pass everything that is in the script below to my . jsp? <div> <div…
-
0
votes0
answers116
viewsText rolling in bootstrap
I’m using a <ul> to display the results on a website. 3 items per line are printed: Site name, link and status. In the browser the resutlado is good: Poblema occurs when using mobile: Because…
-
0
votes1
answer100
viewsLoop to show all news
I’m trying to make a backoffice for my website so I can publish news! Does anyone know how to loop to show each of the Rows in my database? Thanks to those who help! Note: I’m new to PHP and Mysql…
-
0
votes4
answers3804
viewsHow to align image of Carousel Bootstrap?
I wonder, how do I center the Carousel images (or slider) in bootstrap 4? <div id="demo" class="carousel slide" data-ride="carousel"> <!-- The slideshow --> <div class="carousel-inner…
-
0
votes0
answers36
viewsWhy do they recommend using Let if most plugins/applications/Ibraries still use var?
Why do they recommend using let if most of the plugins/aplicativos/libraries still use var? Should I start adopting in my applications use or not? Some examples of plugins/applications/Ibraries that…
-
0
votes1
answer1299
viewsChartjs. How to adjust the graph height according to table size? Ionic 3
I’m developing an application in Ionic 3, where I consume data from an API and display the data on a horizontal graph. The amount of data returned by the API is not standard, so sometimes the height…
-
0
votes1
answer950
viewsHow to put a div in the middle of two elements inside another div?
Galley, How do I place a text from a div in the middle of another div that has two separate photos. <div> <img> <img> </div> <div> <p></p> <div>…
-
0
votes1
answer83
viewsLoad a window only once after reloading the site in Asp.net C#
Having this window when accessing a website for the first time, how do I only appear once even after reloading the website or the user goes back to the home page and does not reappear this?…
-
0
votes1
answer1312
viewsAdd days to current date
I need to take the current date and add days according to the selected function calcular(){ var valor1 = parseInt(document.getElementById('dias1').value); var valor2 =…
-
0
votes1
answer1070
viewsHover effect with javascript calling css class
I want to replace the 'product' class with the 'product' class with javascript, as soon as I pass the mouse through the div. How do this code? Js $(function(){ $(".produto").hover( function(){ //Ao…