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
answer66
viewsRemove <a> tag using php and leave only <td> text
I am using Phpmailer to send emails, but in the body of the email there is a field (address) that is coming as a link (for maps) to the recipient. I’ve used strip_tags() but it hasn’t solved.…
-
0
votes0
answers263
viewsHow to change the preview location of Bootstrap File Input?
I need to change the location where the preview of the images appears, put it inside another div because it is being automatically placed above the input file. So far I haven’t found anything in the…
-
0
votes3
answers1607
viewsTake the width of a text?
We usually take the width width of a div or any other tag within the page. How can one pick up the width of a plain text? For example: Um texto How do I know the width this text occupies on the…
-
0
votes1
answer166
viewsJavascript - Use button to show more images
I have the following problem: I am creating a website E-commerce and I have a page to show you all the products. The part of showing this good, the problem is that, being many products wanted to…
-
0
votes1
answer1187
viewsCompare 2 dates
I am trying to make this code work properly, but the same as I realized only compares the day because if it is larger than the current day works correctly, but if it is smaller than the current day…
-
0
votes4
answers751
viewsHow to create a <a> link without refreshing
I would like to create a link with an image, but when clicking on it does not give refresh on the page, I want that if click nothing happens, if I put # the page updates, I do not want it to happen,…
-
0
votes1
answer156
viewsHow to delete the last div added by DOM?
I’m making a notes webapp, I used DOM to add notes and remove, but when I remove it, it removes the first note and not the last note. <script async> function novaNota() { var div =…
-
0
votes1
answer1242
viewsHow to display XML data in an HTML table
I would like the XML data to be displayed in a common HTML table with TR and TD, because with the code I’m using the information gets confused. Follow the code I used: $(function(){ $.ajax({ url :…
-
0
votes1
answer201
viewsHow do I add a Google login option to my website?
I have a site in PHP and I would like the user to have the option to sign in with the Google account, as well as here in Stack Overflow, so he does not need to register. You would need to take the…
-
0
votes1
answer24
viewsReceive information on the home page
I have a PHP file where I receive data saved in firebase I can read the data but I have to open a Mozilla Firefox console to be able to read this data. I wanted to know how to read or print this…
-
0
votes2
answers2067
viewsMaskmoney c/ Jquery or Javascript
How to create a mask for Real R$ values? I tried to use http://plentz.github.io/jquery-maskmoney/ but I was unsuccessful. I need a mask that introduces me to something like this: R$ 0,01 R$ 0,10 R$…
-
0
votes1
answer227
viewsHow to change one HTML file for another?
I have the files: H1.html H2.html start.html Start.html: <frameset cols='20%, *'> <frame src='h1.html' name='menu'> <frame src='h2.html' name='resto'> </frameset> I would…
-
0
votes1
answer695
viewsOG image in several sizes
I have meta with og:image on a website in the size of 300x110px; So far so good, I share the website on social networks like Facebook and others and it pulls the picture straight; The problem is…
-
0
votes1
answer60
viewsGenerate image using PHP for directory
Sorry if it got very strange the question , I have a system that when the user upload has no image it puts in the following img directory: /xxxx/estatico/comuns/sem_imagem/ My idea was to generate…
-
0
votes2
answers157
viewsHow to make "data-Binding" of two variables in the same select?
I have this code that is making vm.service.type = serviceType.name : <div class="form-group "> <label for="field_type"><b>Type</b></label> <div class="input-icon…
-
0
votes1
answer67
viewsGetting category of a table in Mysql
Staff I have a product registration table and in it I have categories: $consulta = mysql_query('select categoria from produtos order by categoria'); while ($var=mysql_fetch_array($consulta)) { echo…
-
0
votes1
answer53
viewsError while performing Javascript summation
I have a calculus script I adapted from another page. There, all right, but this, even checking the same ids and the like, does not work. I took the essentials from the screen, to demonstrate what…
-
0
votes1
answer78
viewsProblem: Divs move when clicking
I have a set of 4 divs with their own title, and when clicking on each one of them, the corresponding information is shown, when the page loads the divs are aligned with the margin between each of…
-
0
votes1
answer56
viewsHow to prevent template modifications
Hello, I’m kind of a layman in PHP I’m learning little by little and discovering new things. i wonder how I do to prevent a certain person who owns my template, has the restriction of not being able…
-
0
votes2
answers134
viewsCount only from visible cells
I’m having a problem with my code. I have a dropdopwn menu that displays notifications. When the notification shows the same date as the current day it displays <div class="label…
-
0
votes1
answer231
viewsUse of picture tag
Good afternoon, I have the following structure: <picture> <source media="(min-width:min-width:1440px)" srcset="img/main_banner_info-1440px+.png"> <source…
-
0
votes2
answers1289
viewsView Div with specific content by clicking link
Good morning guys, I’m creating this topic because I performed a forum search and found this solution here. How to open a <div> by clicking on a <a link>? But I need a more specific…
-
0
votes2
answers94
viewsHow to create an element with child without adding it?
Imagine: var pai = document.createElement('div'); var filho = document.createElement('div'); I want the son is inside the parent before adding it to the document. It is impossible with…
-
0
votes2
answers78
viewsVariable does not go to PHP with Ajax
I have this code that makes the request with Ajax for a PHP file. The problem is that it is only taking the value of input type="file", the other fields are not being passed to PHP. I’m doing so to…
-
0
votes1
answer40
viewsGo to "home" page
How can I do through a javascript function, which is enabled the command "Home", ie the page make a jump to the top of it? Example: A button that is clicked and is at the bottom of the page,…
-
0
votes3
answers30
viewsShow different contents when selecting one of the buttons
How can I make div change when pressing a button? in case I have 3 buttons, the first one will cause the first one to be displayed div, the second with which the second div appears and the third…
-
0
votes2
answers3718
viewsHow to create a Pop UP that has the close button
Hi, everyone at Stackoverflow, first I’d like to apologize if you’re asking me wrong, this is the first time I’ve ever used the O.R. And also apologize for my ignorance in HTML and JS. In fact, I…
-
0
votes2
answers1162
viewsHow to put a java script into value html
I have some variable: let variavel = x; and I have the input: <input type="text" value=""> There is a pure javascript way to take a variable or some javascript code and put html tags? In this…
-
0
votes1
answer591
viewscreating javascript html shortcut
Good morning, I put in accesskey="i" to create a shortcut in html, but I need to add two letters, as I do? <button type="button" class="btn btn-default btnEntidades" ng-click="salvarEntidades()"…
-
0
votes1
answer38
viewsFrames formed by other htmls are not appearing
In my first HTML frame exercise, I created a document made up of two frames where each one is another HTML document, which is in the same folder as the initial document. The HTML of frames work…
htmlasked 6 years, 7 months ago Lucas Pletsch 787 -
0
votes1
answer269
viewsalt and two letter shortcut
good afternoon I got that code right here $(document).on('keydown', function(e) { console.log(e.which); // Retorna o número código da tecla console.log(e.altKey); // Se o alt foi Pressionado retorna…
-
0
votes2
answers60
views -
0
votes2
answers193
viewsFind string in html code
I need help with the following: _Add several files ( extension .htm ), approx 20 files. _Analyze and find in the 20 files a string determined in the HTML code ( maximum string length is 20…
-
0
votes2
answers1603
viewsLoad content from another jquery file
I would like to know how to load the code from another html or php file using the function $(".div").load("html.html"); The mistake here would be : It loads the code perfectly, but I have a button…
-
0
votes1
answer218
viewsLaravel - Does not take the table column
I’m in a quandary at Laravel I can’t fix, and I’ve tried a lot of things, and now I’m stuck with this: echo of a column value of my table in a input in the html. Code in the Controller: public…
-
0
votes1
answer892
viewsRedirect to external link in Laravel
How can I redirect out of my Laravel website? I tried it with Redirect::away() but it didn’t work. I saw some solutions with javascript but I wanted to look for other ways.…
-
0
votes1
answer35
viewsChange defined variable and receive new value via form
I have a variable $CONFIG['Sitetitle'] = 'Title of my website'; This variable is in the file config.php and included in the header to set the title of all pages. Recently create a new page for the…
-
0
votes1
answer1020
viewsIs it a problem to use two different versions of bootstrap?
Well I have a problem, I have a project in Ordova that was using bootstrap 3.3.7 however in this very I am passing everything to bootstrap 4.0.0, but I thought to leave the 2 in the project because…
-
0
votes0
answers32
viewsHow do I get the Firebase session id for my session?
if (user) { // User is signed in. var displayName = user.displayName; var email = user.email; var emailVerified = user.emailVerified; var photoURL = user.photoURL; var isAnonymous =…
-
0
votes2
answers937
viewsView and modify items in the database with php
I need to display the database values in these input fields and also edit them, I already have the column created, with Title & Adscode table name is website…
-
0
votes0
answers18
viewsCollapsibles do not work
I’m wearing a framework called SBAdmin, which is nothing more than Bootstrap 4. But by creating the same collapsible that FW provides as an example it does not work in certain cases, The error is in…
-
0
votes2
answers1109
views -
0
votes2
answers609
viewsChange bgcolor according to class
For now I do not have much knowledge in JS and I would like to ask a question... I need to change bgcolor according to the active class. For example: "if the 'active' class is bundled with…
-
0
votes1
answer33
viewsHow to remove equal tables
I wonder if you can help me eliminate the repeat tables, all of which are occupied and still appear in green. Each table I occupy appears one more of each, that is, if I only have one table…
-
0
votes0
answers43
viewsBrowser downloading files like mime instead of css
I am having problems with a small PHP MVC application that I am developing, I searched the internet and found that possibly mine .htaccess, is annexed hereto: RewriteEngine On RewriteCond…
-
0
votes0
answers45
viewsBootstrap: Resizing the figure
I have the following HTML code: <section class="container sobre-site"> <h2 id="sobre-site-id" class="subtitulo">Título</h2> <figure class="thumbnail"> <img…
-
0
votes0
answers53
views -
0
votes1
answer33
viewsWhen loading site jumps to the middle
Well that’s my first question here, I created a stackoverflow account just for that because I can’t find the answer anywhere! I just renewed this page http://www.acm.esy.es/ who is staying at…
-
0
votes1
answer757
viewsPHP: user location map via geolocation IP
Good Night , I have in my company’s database with several IP addresses ( in history format ) and the current IP of the user accessing my site. I would like to know if you can with this data set up a…
-
0
votes0
answers110
viewsInstallation of Material Design
I’m trying to make a project using the Material Design I have NPM installed but, I’m not able to install. I enter the project folder and the terminal type: npm install --save material-components-web…