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
-
1
votes2
answers759
viewsAdd a 'Pointer' arrow in Tooltip effect
I’m building a Tooltip effect that displays the definitions of specific terms, but I’m encountering problems by having to add an arrow above the small box. Check the CSS of the code soon followed by…
-
1
votes1
answer63
viewsDifficulty loading oracle data with js(jquery and ajax) function
This is my scenario: I have two pages (A and B). In B I load a variable with data coming from Oracle. In B I also mount my table that will be displayed in A with this data. On page A I have my…
-
1
votes1
answer75
viewsReset effects after clicking on a link
How can I reset all effects after clicking on a link to Ex, that underlined effect and the edge:…
-
1
votes1
answer63
viewsSettings . htacess - Dynamic Error Page
I wonder if it is possible to generate a dynamic error page from parameters passed to an html page and get these parameters through a javascript code? Or any other way that you don’t need to create…
-
1
votes2
answers1501
viewsDropdown Menu ASP.NET MVC 5
I need to change the menu to apply a Dropdownlist, but I’m having difficulty. I’m following the footsteps of the bootstrap site, but when click does not appear the submenu, follow the code below:…
-
1
votes0
answers58
viewseach time I refresh adds 1 item to the cart
I am designing a site with wordpress and I am with a problem. The site is based on the purchase of software - Premium , Free and for this I used a princing table. In woocomerce I created 2 products…
-
1
votes0
answers89
viewsNetworkerror: 500 Internal Server Error
I have a code that forms the user’s profile screen. Next to the user’s name he has the edit option, that when clicking opens an inline Edit (form-x-Editable.html). Even in this part is working…
-
1
votes1
answer931
viewsunlink() as Delete only one file from the file
I’m having trouble deleting a file from the file, when I pass a "GET", it deletes all files from the file I have to pass some variable to identify the file name? <?php…
-
1
votes1
answer528
viewsShow a single DIV with Ajax
I am making an ajax request for an external URL and want to show only three elements of the original website on the page I developed. But when executing the code it brings all the elements of the…
-
1
votes2
answers141
viewsDoubt about mysql - Save, Update and Show data
Talk guys! I have a question. I created a static page that will show some data. For example, I want to show you the live score of a specific football game. I thought of creating a static page with:…
-
1
votes1
answer56
viewsOG Facebook Goals: Doubt
Whenever I use OG goals for Facebook sharing, I insert them in the header and hide the current site description and title goals. The doubt is as follows: the OG goals need to be in the site header?…
-
1
votes1
answer159
viewsHow to capture the text of nested Ivs in an elegant way?
This post explains how to copy plain text to the clipboard using Zeroclipboard. But a reader brought a doubt: how to take the content of a <div> with several daughters within it? When we use…
-
1
votes3
answers799
viewsHow to center image to text?
I would like to use the image centered on the text, but I could only align it left or right. It has how to center it, making the text involve the whole image? The code I made is below: <style>…
-
1
votes1
answer41
viewsHTML&CSS is it possible to disable the right scrollbar of an html page?
My html page is with many objects, but I want to let all of them so that the scrollbar doesn’t have to appear, it is possible to disable the scrollbar?
-
1
votes2
answers16125
viewsImage gallery (HTML/CSS)
Good morning, I’m starting on web programming and I need a north... I want to make a gallery with Timthumb where several images appear after clicking on one, it open in full screen and follow with a…
-
1
votes1
answer197
views:Hover in previous element
I would like to give :Hover on button "2" mundaning the effect on button "1" <div class="btn um">1</div> <div class="btn dois">2</div> <div class="btn…
-
1
votes2
answers34
viewsOpacity in Pseudo-Element and Parent
I want to make a div with the left corner tilted, but it’s not working. This is the right way to do it ? In my case it even works because the div father has overflow, then the rest of the :before…
-
1
votes3
answers2363
viewsChange height with javascript
Good Afternoon! Next, I have a div.minhaDiv with a height: 580px; and I want to click on a button the height of that div.minhaDiv increase to 1600px. When she is with height: 1600px I want to click…
-
1
votes0
answers33
viewsPlain text in pre html tag
I was using the tag <pre> and the tag <code> to insert something that would highlight a piece of code. However, when I write the part of html code in the tags <pre> and…
-
1
votes2
answers553
viewsDiv or image appears only inside another
I would like to put a div or an image ( preferably div, if possible ) inside another, for example, I wish Div didn’t appear outside the other, if I’m overtaking being behind. In the example below,…
-
1
votes1
answer78
viewsfooter hiding div with scrollbar when resizing the browser from top to bottom
I have a problem when I try to use a div with internal scroll on my page. what happens: if I resize the browser up the scrool arrow disappears below the footer. i wish this didn’t happen because…
-
1
votes1
answer416
viewsSubmit input box data using enter key?
I want you to press the button Enter the value is inserted into the HTML page using jQuery. The code below is input simple in HTML: <!doctype html> <html> <head> <title>Somar…
-
1
votes1
answer26349
viewsResponsive image alignment with Bootstrap
I’m having trouble aligning a responsive Bootstrap image to the center. My image is with class (.img-responsive) properly applied and inserted into a row and of div with class .col-md-12. When I…
-
1
votes1
answer487
viewsAnchor link with js and bootstrap, how to close the menu after clicking?
I’m making a site using boostrap, it’s a single page. When I access by cell phone and click on some link from the menu of the page it makes the scrolling effect to where the anchor is, but the menu…
-
1
votes3
answers98
viewsShow BD value in Dropdown Box
I have in my database a value for user level and I would like to be able to modify it in the change. I need to load the level of the logged in user when opening the page: <div…
-
1
votes3
answers288
viewsHow to make the content not be below the footer?
I’m having trouble creating a footer that is always at the bottom of the page, because the text of the div content is getting below the footer. I’ve tried several things, the code is like this:…
-
1
votes2
answers168
viewsAllow a Function to be called only after a time that page has been loaded
I wonder if there’s a way to allow a Function to be called only after a few seconds. Example I have a function that emits sound when a new message appears it is called, but when I restart the page…
-
1
votes2
answers841
viewsMenu in PHP and HTML
I need you to ask me a question, I created a page and put the menu in PHP. Follow data: php menu. <div class="col-md-9 text-left float-left collapse-navation"> <div class="navbar-collapse…
-
1
votes1
answer262
viewsjquery inputmask does not accept quantifier in "Validator" function
I am trying to make a customAlias to use with jQuery Inputmask, but I am facing the following problem: My input: <input id="input-field-nome" data-inputmask="'alias':'customAlias'" type="text"…
-
1
votes0
answers50
viewsGood practices in calling javascript scripts
I have some pages that use specific javascript files/scripts and do not include in the header of the site, because not all pages would use it, I wonder if it is a good practice to include Js…
-
1
votes2
answers275
viewsSeparate json response for tags
Guys, I have the following ajax call: $(".sec-tags").html(res.data.tags); It is returning the server call, however the call is coming as follows: tags: "coelho,teste,gato" Everything is coming…
-
1
votes0
answers73
viewsReturn content to client application with defined header
I have an application that returns JSON content from PHP to an HTML page, but I do this without defining the header, such as, for example : header('Content-Type: application/json');, that is, in the…
-
1
votes2
answers1283
viewsHow to replace the text of an element with another text?
I want to exchange the text of one element for another text. This is a representation of my code: Javascript: var elementoTexto = document.getElementById("elemento").innerHTML elementoTexto =…
-
1
votes1
answer2414
viewsHow to make a search box with Hover effect?
When you click the search icon the search box opens. .busca-organica{ width:120px; height:27px; background-color:#FFF; display:none; } .btn-pesq{ display:block; } <div class="btn-pesq"><img…
-
1
votes2
answers1190
viewsSwap Hidden field to text with javascript
All right guys ? So, I have a field of type Hidden, I need to assign a value to it and change it from Hidden to text after the calculation function calc(){ var myVar = formCalc.myCamp.value;…
-
1
votes2
answers4175
viewsBy clicking the site menu, move the scroll bar to a specific point slowly
I would like to move the scroll bar to a specific point of the page by clicking on the site menu. I managed to do with anchors. jQuery(document).ready(function($) {…
-
1
votes0
answers51
viewsSites that work by scroll
I have seen sites that work by scroll, where it is not possible to resize it, IE, when you try to resize the page with the Ctrl + scroll does not work and the whole site is animated by scroll too,…
-
1
votes3
answers1842
viewssame div with different colors
How can I make a DIV change its color in the next instance of it? In two I can generate this effect:…
-
1
votes1
answer438
viewsTake the size of an image
There is the possibility to take the size via javascript of an external image to my directory? For example in this use: .divExterna{…
-
1
votes0
answers57
viewsGood practices with contenteditable
I just found the tag contenteditable and I’m using it in my projects. What good practices should I have regarding security, since this tag makes possible colar anything in its original form, bugging…
-
1
votes1
answer487
viewsDefault select Angular
<select class="ui search dropdown" ng-model="vm.empresa" ng-options="item.id as item.label for item in vm.collectionData.items track by item.id" required > <option value="">Selecione uma…
-
1
votes0
answers110
viewsHow to handle iframes on a list?
I’m trying to group a series of Youtube videos on my personal blog, all videos are inside an iframe tag, for example: <iframe class="YTvideo" allowfullscreen="" frameborder="0" height="344"…
-
1
votes1
answer2709
viewsForm inside an html form
A doubt that may be simple, but I had no choice: I have a main HTML form, which captures all the data of a table, the problem is that there is the upload of images inside this form, and this upload…
-
1
votes1
answer68
viewsReverse animation when taking mouse
Would someone like to tell me how I do the animation "the other way around" when I take the mouse out? Try it on the link below and I think you will understand. When I put the mouse, the description…
-
1
votes2
answers141
viewsHow to rescue html text from database?
I’m using the editor TinyMCE, the data is saved correctly in the database, but I do not know how to rescue them and show them on the screen. It is returning me like this. Would anyone know how to…
-
1
votes3
answers4070
viewsLine Breaking Problems in Bootstrap
I’m having trouble breaking bootstrap lines. I need to leave my logo, an image, followed by a label, without breaking the line. However, using the form-control class of boostrap.min.css the line is…
-
1
votes1
answer2130
viewsHow to remove spaces between rows from a table?
I’m doing an email from marketing, and everything is normal in web version, but when I send it it gets a blank space between the table lines. Email marketing link in web version.…
-
1
votes1
answer238
viewsHow to hide multiple checkboxes at once when selecting a javascript checkbox
Good afternoon, as I do to hide several checkboxes at once when selecting a javascript checkbox follows below the code <!DOCTYPE html> <html> <body> <p>Click the button to…
-
1
votes2
answers10368
viewsShow and hide input for javascript search field
Hi I’m doing the search bar of the site and the model of the bar and like this: has an image of a magnifying glass and when you click on the image, below it appears the input to type the search. I’m…
-
1
votes1
answer651
viewsPass values from one form to another
I started learning code recently and created these two forms in HTML, in which I need to take the values that were filled in the first form, and pass them to the second. How can I do that? 1st Form:…