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
votes1
answer321
viewsSelection of elements by classes with jQuery
How do I select an HTML element that has only the classes I ask for? For example: $('.a.b.c') -> deve retornar apenas a div1 e não todos os elementos que também possuam as classes a, b e c além…
-
1
votes1
answer287
viewsHow to know when Collapsible expands or closes?
I have a Collapsible, and when it is expanded I want to add elements to it, and when it is collected I want to exclude the elements. At the moment I’m using it as follows: <div id="expansorTurma"…
-
1
votes2
answers7587
viewsHow to resolve html elmento value quotes with javascript?
I have a script that creates buttons with onclick events, but I’m having trouble assigning its value. View the script: for (var i = 0; i < cursos.length; i++) { $("#cursos").append("<button…
-
1
votes0
answers243
viewsHTML table with Fixed top columns
I’m trying to create a table that by scrolling down the page, the column row is fixed at the top. So far so good, in jQuery I set in the scroll event that when the columns were below offset, it…
-
1
votes1
answer383
viewsI cannot call the javascript function by a button
Good morning, I have a problem on my page. I created a Form with a field for comment. When clicking the button it "should" call the function but does not call. function gravaobs(pag_pedido,…
-
1
votes0
answers64
viewsMenu css does not work when entering through Google, but usually works via URL
This problem happens on mobile devices. It’s a bit strange but when I access the site through the URL, the menu works normally, that is, by clicking on the 3 horizontal bars, the menu appears. But…
-
1
votes1
answer132
viewsDate calculation and onblur tag
I’m creating a screen to add orders. When I choose the date of sale, I would like it to automatically calculate the due date and exchange the value of the maturity field (which is always 180 days…
-
1
votes1
answer2126
viewsDirect download without playback
I have an HTML file where there are some links to download, but some links are not downloading themselves but opening in the browser itself, as files . txt and . mp3, files like . rar and . zip are…
-
1
votes1
answer77
viewsHow to perform a 250px horizontal slider per click?
Good morning guys, I used the instagram API to show my profile photos on the website and could not find any solution Carousel that didn’t conflict with Magento’s jQuery, so I started making the hand…
-
1
votes1
answer138
viewsDoubt to automate javascript function
I’m using a Javascript function to show/hide a div according to the choice of a radio, but now they’ve become many, so I’m trying to automate it the way I’m learning in codeacademy. From the code I…
-
1
votes0
answers83
viewsEdit Cell from a Table
Guys, I need some help, I’m filling a table with a result of a Select SQL. As the code below shows: $sql = "SELECT Nome, COUNT(Especialidades_idEspecialidades) FROM especialidades_has_professores AS…
-
1
votes2
answers1018
viewsMy js file is not loading
Studying Ajax with Jquery, in Mauricio Samy Silva’s book is not working with me. I made a js file out and now I can’t load it. What I did I think is not wrong. I debugged the browser with F12 and I…
-
1
votes2
answers422
viewsPosition Absolute is not working
I’m trying to create a version of the old record site. What I need is to get the div read under the div last, but they are followed and this is not what is intended. Where does it say good, on the…
-
1
votes2
answers678
viewsI cannot bring the database data from more than one table
I’m learning how to do an admin, and then I created some tables in the database, but I don’t know why I can only insert and delete data from the user table and project table. Must be some silly…
-
1
votes3
answers5460
viewsHow to hide the file URL? (do not show the whole file up)
Personal I want to hide the URL of the files, example: example.com/cadastro.php would have some way to leave only example.com? Or some other way, but not show the complete path. Thank you.…
-
1
votes1
answer90
viewsCell reordering in Bootstrap
At the moment I have a layout that is like this, using Bootstrap: [-nav/header] [-1-][-2][-4] [---3---][-4] [---3---][-4] [---footer--] And I would like to display it like this in mobile navigation:…
-
1
votes2
answers541
viewsCan I use Get or Post to read an Array?
I’m trying to make a file. php read an array, but I also want to assign an id to each value in Vector. This is the html <form method='GET'> <input type="hidden" name="idArray[]" value="1"…
-
1
votes1
answer199
viewsMask in image
I am trying to apply a "mask" to my image, to take only the center of it and apply 50px for 52px, tried to use the clip-path but it doesn’t work, I’m using the opera and the Chrome for testing,…
-
1
votes1
answer193
viewsProblem with HTML link with classic ASP
The following piece of code is giving me trouble: While not rsQuery.EOF If vStrCurso <> rsQuery("SIGLA") Then ind = ind & "<p></p>" ind = ind & "<span><b><a…
-
1
votes1
answer1983
viewsGet column values from a table and save the value of each column in an input
I have a table with 2 columns and I would like to, when clicking on some row, assign the values of each column of this row clicked on a <input type="text" />. I have a code that he assigns but…
-
1
votes1
answer1419
viewsEdit php email body with html
He needed to edit the body of an email (after completing the form, an email is sent). But I can’t integrate my HTML code with PHP. I’ll send you a printscreen of what’s happening. What I wanted was…
-
1
votes1
answer268
viewsConvert Jsoup doc to string, apply Regex and return a value in String
I’m using an example I found called Androidjsoup to get the source HTML from a certain page, but I’m not getting just the snippet of code I wish is in a certain <script> In short, the…
-
1
votes1
answer991
viewsReceiving data through the connection between the Internet and the Internet (Ethernet Shield)
I built an app to receive data from a sensor connected to the Antarctic over the Internet using a Shield Ethernet. For this I took the result of the page and separated only the sensor measure on…
-
1
votes1
answer828
viewsCounter variable PHP
Good staff, I have a form in a file PHP to fill a leaderboard. And wanted my form asks itself something like, "Athlete’s number in the ___" position, where the number of the position in the __. For…
-
1
votes1
answer603
viewsSequence of mp4 videos
Hello good tie everyone would like that code to make sequence after a 1 video automatically go to the second someone can help me ` <!DOCTYPE html> <html> <head> <style…
-
1
votes3
answers878
viewsimage and hr side-by-side
I want an image (the yellow curve at the bottom) and an hr that way: And I have the code like this: <div> <img src="http://culturalis.pt/wp-content/uploads/2015/06/curva.png"…
htmlasked 9 years, 8 months ago Bruno Gibellino 1,110 -
1
votes1
answer677
viewsAdd bookmark system
Recently in a project, the need arose to create a system that can be evaluated by the user, and in this case, only the "favorite" was requested. The user will just click on the "heart" and will be…
-
1
votes3
answers866
viewsImage with horizontal hr centered vertically in half
Good, I have here a problem that in putting one <h1> followed by an image and a <hr> as in the following image. With the following code: <div id="bola"><h4 style="text-align:…
-
1
votes5
answers150
viewsDoubt with image positioning
I have an image for the logo, I want it to always be positioned in the center of the screen for all devices. I’m using the bootstrap. CSS .relative{ position: relative; left: 40px; } HTML <div…
-
1
votes2
answers568
viewsHow to remove and add a particular TD
Inside eachtr there are several buttons (add and remove) and their respective td(s), how to know which given tr should I delete if I click one of the add or rem Buttons? I also wanted to add a new…
-
1
votes0
answers44
viewsSolution/alternative to href="#"
I’m using ajax paging, and every time I click to the next page, the browser goes back to the top because of # that’s on the href. <a href="#" onclick="getitens('+(pagina-1)+',…
-
1
votes1
answer901
viewsPHP - Send to another client id page when you click on a cell
I have a list of clients each in a cell. I want, by clicking on the cell, send to another page the id of the selected client, safely. Without showing the id in the link. Generating the tables:…
-
1
votes1
answer2867
viewsHow to capture the value of a paragraph within a div?
I ask your help to capture the value of a paragraph h4 that is inside a div specific, and place in a form text field. It is to automate a group name response system/singer of an online radio. This…
-
1
votes2
answers417
viewsClick elements below a div?
An example I can give: .noturno{ z-index: 9000; position: fixed; height: 100%; width: 100%; background-color: rgba(0,0,0,0.5); } <div class="noturno"> </div> <div class="corpo">…
-
1
votes1
answer307
viewsProblem with CSS and ASP Button
I’m trying to put a button ASP with a certain class CSS but I’m not getting the button ASP operating in accordance with CSS. If the button is HTML goes without a problem. CSS code: .images_1_of_5…
-
1
votes3
answers10359
viewsAccess only via login and password, Inhibiting direct access via url
I made an access login system, but I would like the user to be obliged to access it with the login and password, inhibiting direct access via url. Anyone can access the page via URL by entering the…
-
1
votes2
answers800
viewsHow to get the CSS that was defied on another page?
Hello, I’m new in front-end development, sorry if my question is a bit rough, but what I would like to know is if it is possible to get the CSS file that was set in a page and uses that same CSS in…
-
1
votes0
answers211
viewsAutocomplete with id and name search
How can I make an autocomplete with search in two columns of the database? I’ve looked at several examples, and I’ve seen one that uses a kind of grid, it’s like $("#seletor").combogrid(...). I’ve…
-
1
votes1
answer203
viewshow to do . append() on the right card, according to the right array element
Good morning I am new to programming in jquery, and at the moment I am in a stage where I need to make a table, in which the lines of this table consist of two buttons and four cards (cards), if…
-
1
votes2
answers598
viewsHow to list parents and city in Anglican?
Here’s what I wanna do: Brazil Rio Grade do Sul Brazil Rio de Janeiro ... and so on. It has how to do it in a table? <table width="500" border="1"> <tr> <td width="200"…
-
1
votes1
answer22
viewsIs it possible to perform a "prepend" on an attribute?
I have the following situation: When I make the request from my bank, my tags <img> comes with the attribute src filled, is it possible for me to perform a prepend in the same? For example:…
-
1
votes1
answer62
viewsPHP Database Search
I have a database with 3 tables and I need to know if in table A (for example) the field guy for 0 will fetch data from table B, if for 1 will fetch data from table C. And I have the following code…
-
1
votes2
answers436
viewsOnclick on Canvas
I have an image and on top of it is drawn a canvas. I need that when I click on the image it opens to normal size with the canvas design. For now I click on the image and just open it, the canvas…
-
1
votes1
answer51
viewsJavascript rotatory iframe
I would like to correct the following script to stay the way I need. <html> <head> <script> function randomIframe(obj){ var ends = new Array(); ends[0] = "http://www.terra.com.br";…
-
1
votes2
answers286
viewsHow to Show Half of Background
I have two <div>, One is superimposed on the other. And I need the one on top to only show half the background. That is, the other half will be transparent so that the other half of…
-
1
votes1
answer81
viewsStyle Fileupload
How to style a Fileupload element? I’ve seen a few examples where they go about hiding the element and putting an image underneath, I wonder if anyone knows any other way to style this element.…
-
1
votes0
answers128
viewsUpdate the front end
In the back end when I do Submit it just changes me in the database and not in the front end. What can I do? This is my code to enter new information in front end: <?php include…
-
1
votes2
answers226
viewsSelect checked on return
I have the following code: <p>Status</p> <select id="st" name="st" value="<?php echo $DsStatus; ?>" /> <option value="0">➖</option> <option…
-
1
votes1
answer110
viewsError with CSS application
I’m ultilizing to Adobe Brackets for the first time, and I’m applying a style in CSS in a Small "Project" in Html , but unfortunately this not generating results, related to CSS.…
-
1
votes1
answer109
viewsHTML5 Canvas Arc() is not the correct size
I am developing a college job that consists basically in creating a kind of "Paint" using the canvas HTML5 in conjunction with Javascript, but came across a problem when trying to update a canvas…