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
answer106
viewsFill option with Flask data - Front x Backend
I have little knowledge in frontend and I’m needing to do the following: In my Backend I have a function which I run in python and which returns a list according to print. app = Flask(__name__)…
-
0
votes1
answer34
viewsCapture query string in Wordpress
I’m trying to capture the query string paged on the main page to call a component and load the data. However, its return is always 0. When I use this component on other pages, it works normally. URL…
-
0
votes1
answer51
viewsTake multiple rows from a table in the database with the same name and display the name only once in a list
My form has the option to add more rows, so I had to use array and send its information to the database. In this case the database has created 3 rows within the table with various information, but…
-
0
votes1
answer653
viewsDisplaying data with React JS
Good morning guys, I’m trying to display on the screen a message typed by the user, something very simple but as I am new in React I don’t have much idea how to do this. Well, the code below went as…
-
0
votes1
answer171
viewsCollapse pushing the Div
I created a Collapse but I’m not getting it to push the Divs down, thus getting superimposed on the content. I tried some code in CSS but it’s not working. HTML: <div id="collapsible-menu">…
-
0
votes2
answers1203
viewsHow to create a mask for Brazilian currency with character limit?
I have a code that formats the values for Brazilian currency (BRL) that works very well, but I need it to limit the number to 15 digits. Where do I put this validation? // parâmetros da função moeda…
-
0
votes1
answer220
viewsHow to mark an X in part of an image when firing a function in Javascript?
I mapped an image, and with the coordinates of some parts, I made sure that by clicking on a selected part, a function is executed. But I would like to know how to mark an X or make some visual…
-
0
votes1
answer14
viewsDisplay XML parameters in PHP
I’m creating a routine of reading XML files in a directory, but I’m having trouble presenting the XML elements. The XML file: <?xml version="1.0" encoding="UTF-8"?> <Report…
-
0
votes1
answer262
viewsMessage from Alert Bootstrap in page header
I’m using Bootstrap Alerts 4 for "Invalid user or password" message, the message is showing, but at the end of the page, I need to scroll down a little to see. I would like to insert Alert in the…
-
0
votes0
answers38
viewsFile versioning system
Hello guys I made a simple code in Javascript to update the page cache Follow the code: //sistema de versionamento de arquivos var number = Math.floor(Math.random() * 999999999 + 1000000) //gera um…
-
0
votes1
answer181
viewsSort object list with PHP
Good afternoon, I’m doing an activity to get a little more handy with PHP, and I decided to take the data from a cvs file, and show them on the screen... until then ok, I got it. But I had the idea…
-
0
votes1
answer522
viewsHow to format data within a DIV(alignment and source)?
I need to correctly align the information inside the following Ivs, place the image on the left, the title in blue next to the image on the right and the temperature just below the title in blue, as…
-
0
votes2
answers373
viewsControl div from a checked checkbox
I have a checkbox list (*ngFor): <div *ngFor="let item of listaProcesso"> <input type="checkbox" ng-model="check" (ngModelChange)="expression && expression[item.name]= $event ? true…
-
0
votes3
answers94
viewsHTML validating with javascript
Hello I have a college job in which I have to validate some fields in javascript, but I am not able to do, the validation has to say how many of the total questions when you press the button, follow…
-
0
votes1
answer58
viewsHow to show a message on the screen if there are no records to be brought from the database?
I want to show a message on the screen instead of showing an empty table. How do I implement this logic in index.cshtml? @page @model xxx.xxx.Pages.Servicos.IndexModel @{ ViewData["Title"] =…
-
0
votes1
answer32
viewsCreate multiple select options with Jquery
Good afternoon, what I’m trying to do is a button where clicking creates a select option, but I can create as many times as I want. my select with database connection; <select…
-
0
votes1
answer1281
viewsFormat date in Angular?
I am developing a form in which birth date is required: <div class="form-group"> <label for="name">Data Nascimento</label> <input type="text" placeholder="Insira Data"…
-
0
votes2
answers57
viewsHow do I carry in the Location header only the user name
My login screen will lead to login_proc.php that starts the session. I want to pass to the reservation.php screen the user name. How to do this by passing the header or otherwise. Also, how do I get…
-
0
votes1
answer77
viewsProgress Bar with hours
I need to make a time line, for that I’m using a progress bar. But I got a problem, the red scratches, they match the hours, but they don’t add up, as we can see at the last red scratch, it comes…
-
0
votes1
answer261
viewsRegistering password 123 with MYSQL encryption, but only login with the password generated by the encryption
I’m no expert on PHP, SQL or HTML, but I’m good at copying things and turning them into something fun. So recently I went to make a website, to spend time, and I wanted the passwords registered in…
-
0
votes1
answer88
viewsHow to assign a value after a selection in Section - JAVASCRIPT
i would like to know how to assign values to the selects of my code, for example if person select "from R$ 25,000/month to R$ 50,000/month" a value is generated in the Javascript code equivalent to…
-
0
votes1
answer130
viewsTransfer content from one Div to another
Hello I need to create a function that is able to move the content from one div to another, for example <li class="itens-interface" id="to-do"> <div class="topo-interface"> <h2…
-
0
votes1
answer331
viewsHow to limit the number of decimals in javascript?
I have a function to change quantity in the shopping cart and I need to limit the number of decimals, because if I add more than 2 units the value is like this: 89.69999999999 Example:…
-
0
votes1
answer1218
viewsClear Form after Submit and continue on the same page, only with PHP and Html
I created a dialog to register "Categories" and "Products" in the database, everything is working correctly, but I would like that when I click on the Save "Submit" button it clears the campus…
-
0
votes2
answers897
viewsHow do I use the properties of a parent element in the child’s CSS?
I have a <div> with fixed values, and it has a <ul> internally, as shown below: <div id="personalizado"> <ul> <li>item</li>…
-
0
votes1
answer52
viewsProblem with . htacess Url
Good afternoon guys, I’m having a problem in my . htacess, I’m doing a test by xampp, only it returns me page not found or similar, I’ve done N form and nothing, man . htacess it takes the end of .…
-
0
votes1
answer151
viewsText already written in the blocked textarea
I got the following textarea already with a part of the text typed: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <textarea…
-
0
votes1
answer55
viewsHow to pass the value of a PHP variable to a fixed place?
Good evening gentlemen I am venturing into the world of PHP and I came across a problem that I have not yet been able to solve. I made a connection in PHP that connects in a TELNET server and…
-
0
votes1
answer116
viewsHow to highlight a table element from the JS
I am making a simple bingo using html, css, ajax and JS. Table elements are brought from a request, within an array and placed in the table(...). Using the onclick function, picked a random number…
-
0
votes1
answer93
viewsChange the display form of selected items in select
I have the select with search field and with all selected default values, as shown: $(document).ready(function() { $(".meuselect").select2(); }); <link…
-
0
votes1
answer34
viewsPure CSS drop box
I made a simple menu with drop box, but when I hover over it, the other elements of my li breaks. I would like to know why. body { font-family: 'Raleway', sans-serif; } /* Menu */ .menu {…
-
0
votes0
answers73
viewsCSS value check
Some time ago I even asked this question here in the forum, where they answered link and helped me a lot. Stayed that way: #mostrar { display: none; } #idfornecedor:not(:placeholder-shown):hover +…
-
0
votes2
answers186
viewsPlace arrow keys to change over the carousel
Good, I needed to put the arrows on my carousel that are meant to change the image over the carousel this way: I already used the z-index and tried to change the display but it is not on top of the…
-
0
votes2
answers483
viewsaccess field value within Django template
You can access the values within a variable in Django templates? For example, I have this model: class Avaliacao(models.Model): post = models.TextField() data_inclusao = models.DataField() in the…
-
0
votes3
answers131
viewsProblem when trying to add elements ckeditor
I have a page that carries a modal bootstrap. Within Modal there is a textarea with ckeditor. The problem when I try to add a table for example, I click on the add table icon it opens the dialog…
-
0
votes2
answers152
viewsWay not to break a line when creating an input element
I started a project in HTML, CSS and Javascript and came across the following situation: when I create an input element in html it automatically skips a line in relation to the other elements, I…
-
0
votes2
answers185
viewsJavascript function is only triggered after 2nd button click
When you click on a button to delete an item from a list using Javascript, it only executes the action after the 2nd click. I would like to know what I must do to make the function work correctly…
-
0
votes1
answer59
viewsHow to solve these two problems in my code?
What am I doing? Well, I’m creating a slider (<input="range">) in which you hover over it and it shows its value in a <div>and that <div> has the goal of following the slider as…
-
0
votes1
answer43
viewsProblems to align <Nav> bar to left
Hey guys I am new in CSS, and I’m having some difficulty formatting some things recently. I attended a class to make this code navbar below and fitted a Parallax I had done yesterday already in this…
-
0
votes2
answers62
viewsHow can I set my variable "u"?
The following error is appearing: Notice: Undefined variable: u in C: Webserver Apache2.2 htdocs posts register.php on line 30 Fatal error: Call to a Member Function connect() on a non-object in C:…
-
0
votes1
answer65
viewsI am unable to run a Node.js application because of jquery
I tried to install a bootstrap in a Node.js application, then installed jquery and Popper.js, but now when I run my application this giving the following error. var version = $.fn.jquery.split('…
-
0
votes0
answers14
viewsError - Warning: Cannot Modify header information
I’m trying to make a footer on the site with access to the bank to show the logged in user, but when soon gives this error, I already searched and could not solve. my footer: <?php if…
-
0
votes1
answer117
viewsUse of the Htmlagilitypack library in C# code for variable value acquisition
Good afternoon Galera! Good people, I’m new here at Stackoverflow and this is my first post so please forgive me if I make any mistakes. I’m doing a C# program to take a picture of each person…
-
0
votes1
answer43
viewsMake another sentence appear in the same place as the previous one, after an animation
The thing is, I need a sentence to appear as if it were typed on the screen, and after the first sentence appears completely, a new one should appear in the same way as the previous one. The part…
-
0
votes1
answer101
viewsproblem by "highlight" selected row with click and checkbox
Good morning friends, I’m breaking my head with something that seems to be simple. I have a table that contains checkbox, I created a function that by clicking on the row marks the checkbox as well…
-
0
votes1
answer552
viewsCalling a javascript function in ejs files
I am trying to create in my js file a function to format a date by changing "-" to "/" and I am using Node.js and express as follows. function formatDate(str){ var format =…
-
0
votes1
answer60
viewsTake data from two tables at the same time, just when you log in
I’m trying to get data from two tables right at the beginning of the session when the user logs in, when I use the SELECT * FROM usuarios, orders WHERE email = '$login' and senha= '$senha' I can log…
-
0
votes1
answer43
viewsalign Html.Textboxfor right css
I can’t align a @Html.Textboxfor of the request I’ve tried in several ways. <!--NF--> <div class="col-md-2"> <p><strong> NF</strong></p> <p>…
-
0
votes1
answer55
viewsWhat’s the difference between writing the styling codes in the html file and css?
Have any problem writing the styling codes in the file .html (in the <head><style></style></head>) instead of writing to the file .css? I’m having a problem with my codes…
-
0
votes0
answers96
viewsModals always opening the same div
Hello, I am doing a work in which there is a table with a button in each Row, and in each button, when clicked, a modal appears. This modal contains a slider input and a div where the text written…