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
-
2
votes2
answers123
viewsHow to make the parent relation between two select elements?
I am making two elements Select a "Area" and another "Problem" and I need to relate to each other, in the BD table of the problem FK spr_sar_codigo referring to sar_codigo of the table Area. I am…
-
2
votes1
answer36
viewsI have a problem in 2 scripts... Navigation in tabs
Well I’m trying to solve a very annoying problem, I’m trying to make a tab Nav page and it uses jquery :"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" But I also have another…
-
2
votes1
answer68
viewsPreg_match_all, get input name attribute values
I am doing a project with dynamic forms, that is, the user (administrator) can make his own form (HTML/CSS), but when fetching the form from the database I need to check if the names (name) of…
-
2
votes2
answers3064
viewsremove radio checked input
How can I remove checked input radio if a div has the click effect? <!DOCTYPE html> <html> <body> <form action=""> <input type="radio" name="gender" value="male">…
-
2
votes2
answers1519
viewsChronometer + Calculation in seconds
I have the code of a chronometer and I would like your help to implement a calculation, I will try to explain as best I can. Time code: var segundo = 0 + "0"; var minuto = 0 + "0"; var hora = 0 +…
-
2
votes0
answers131
viewsCreate a responsive website, and encapsulate inside a webview for slow internet
I need to create a layout for a lightweight mobile client, because he lives in the interior that only works internet with 384 kbps of speed per residence. my question and the following for me to…
-
2
votes1
answer938
viewsLogged in user information does not appear using Firebase!
I’m developing a web-app! In this case, a chat, however, a chat with new and cool functions! I’m doing it just for learning and fun! In the app, I’m using Firebase, to create Logins, Notifications…
-
2
votes0
answers6326
viewsrequire_once include_path='C: xampp php PEAR' error
What is this mistake: Warning: require_once(../config.php): failed to open stream: No such file or directory in C: xampp htdocs... CRUD.php on line 2 Fatal error: require_once(): Failed Opening…
-
2
votes3
answers563
viewsHow to give the "modal" effect on a div?
I have a div which is the progress bar, and would like that div blocked the interaction with div below it. Basically while this div progress bar was appearing, did not allow it to be possible to…
-
2
votes2
answers747
viewsHow to prevent iframe from being redirected to the beginning
I have an application that uses iframe to redirect pages without modifying the url. (I understand the consequences of doing this.) The problem is that when updating the page with F5 is redirected to…
-
2
votes1
answer494
viewsRemove registry in ajax without giving refresh
I have a code in ajax to remove rows from a table, but to delete, I have to click the delete button and give a F5 so that the record is deleted in the current code. I tried to do in some ways…
-
2
votes1
answer777
viewsIs it possible to create a button that makes the person add the site on the mobile screen?
There is in Android and iOS a shortcut that adds the site on your mobile screen, as an app, has how I make a button that does this?
-
2
votes1
answer41
viewsUrl forwarding by company
I’m creating multi tenacy system, I have access page for companies https://www.teste.com.br/pastasistema/home views, what I would like and the user to type https://www.teste.com.br/empresa1/home…
-
2
votes1
answer543
viewsInterface GET and POST method with Angular + Node.js
I’m having some questions as a beginner and I wanted to help you guys out. I created a Home Automation, based on Microcontroller + Node.js + Angular.js. Angular.js communication with the…
-
2
votes1
answer618
viewsChanging CSS with Javascript for required field
I got into W3 Schools and got an example code for a multi step form. In "default" mode it did not move to the next step until all fields were filled. Turns out I only need some fields to be not…
-
2
votes3
answers864
viewscss select only first level
I have a menu with up to 3 levels of nested lists. I need to select only the first level text and skip the nested content. I tried to use .menu > ul> li {} (and some variations of this) and…
-
2
votes2
answers1838
viewsHow to force the favicon.ico update?
I have a problem with favicon.ico, he appears wrong. A while ago, I made a website that used a favicon.ico. After that, I’ve already made some 3 sites and the problem occurs in all. Although I put…
-
2
votes0
answers385
viewsmove_uploaded_file does not move files
I have a form (in php, I wanted to ask if it works without problem? ) to insert images (the path of them) and when I enter the notification appears that were inserted in the database but the image…
-
2
votes1
answer394
viewsDivs side by side header
I want to put all the Divs in the header with relative position to adapt in all resolutions. It didn’t work using float on the Divs. <!doctype html> <html> <head> <meta…
-
2
votes4
answers1209
viewsInput type datetime error
Good afternoon, I have a problem that I can not solve, I wanted to change the format of my form to "datetime", but when I test in my browser appears as if it were text. <div…
-
2
votes1
answer43
viewsHow to put dalay scrolling on a background?
I would like the bg of my Section to have a certain delay in the speed of scrolling to differentiate itself from the standard scrolling of the page. Does anyone know how I can do?
-
2
votes5
answers8190
viewsOnclick event in image
Is there any way to put an onclick event in picture? I tested with a button and is working the call to function, however, I wanted to use an image. I tried something like: <a href="#"> <img…
-
2
votes1
answer72
viewsProblems at the time of a div, how to define 'automatic' height?
take the example in this fiddle I want the height of the blue div to be according to the height that the table on your right is. no fiddle is well explanatory, any doubt I shoot in the comment, I…
-
2
votes2
answers1489
viewsHow to execute one code only after finishing another?
I need to run the search for cities only after I finish loading the states within select and capturing the ID. I’m taking this ID to send another Ajax that will popular the cities of this state…
-
2
votes1
answer76
viewsHow to center rotated text on a div?
Hello beloved community! I’m rotating a p inside a div, but I can’t center it, I’m having enough difficulty in css, already tried to define a width: and height: for p, I left as auto, but it doesn’t…
-
2
votes1
answer1571
viewshow to do a pop up that opens in the same window
I would like to know how to do a pop up that opens in the same window after the user clicks a button on the page. The contents of the pop up would be on a separate page.
-
2
votes2
answers257
viewsAngular filter html
I have an ng-repeat that returns me a list. Every line, I have a default text that arises if a variable is > 0 So far everything is working. How do I add to filter only show the record when the…
-
2
votes1
answer577
viewsHow to insert 2 images slide (html)?
<div id="home" style="background-image: url(assets/images/slider-1-background.jpg); width: 100%; height: 862px;" class="parallax hidden-xs"> I’m using this code in the header with an image,…
-
2
votes1
answer2043
viewsEvent when user closed tab/page
I need to know how perform a function the same instant I close the page, for example I want to send an alert to the user as soon as it leaves Searching here on the site I found this code:…
-
2
votes4
answers889
viewsCharacter limit
I need to limit characters in a text, and should keep (...). The title is sticking out of the layout. if($related){ echo ' <div class="row"> <div class="medium-12 columns"> <div…
-
2
votes1
answer323
viewsHow do I perform a text search and select tag together?
I’m here because I’m having trouble doing a search like any other with <input text> and "search" button only with the tag <select> where they contain in each <option> to value…
-
2
votes1
answer3482
viewsCalling PHP function at the click of a button
Good! I am trying to call a PHP function at the click of a button. My solution so far: <?php $result = getResult($mysqli,"SELECT * from todos WHERE sender = '$username' AND status = '$value' AND…
-
2
votes1
answer1840
viewslang difference and meta charset in html
Hello, I’m in doubt as to the difference between the definitions <meta lang="pt-br"> and <meta charset="utf-8">. I appreciate the help
-
2
votes1
answer117
viewsDifficulty Making a Different Shape
div { width: 280px; height: 280px; background: #1e90ff; -webkit-clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); }…
-
2
votes2
answers1613
viewsCan I put a background-image in a Section?
I created a section in my HTML and CSS: section{ background-image: url(../img/bkg2.jpg); } But the image does not appear. And I checked the path and it is correct.…
-
2
votes4
answers8782
viewsHow to center text vertically
Can someone help me center the button texts? I’ve tried everything I found on the Internet and nothing works.…
-
2
votes2
answers104
viewsbootstrapValidator.js with jsf does not work
My validation script using bootstrapValidator.js <h:outputScript library="primefaces" name="jquery/jquery.js" target="head" /> <h:outputScript library="primefaces"…
-
2
votes0
answers92
viewsIs it correct to mix PHP code with HTML?
I am restarting my studies in the area of IT and I have this doubt. In the course I’m doing the examples show the php code mixed and inserted into the html code. Is that really how it works in…
-
2
votes1
answer1930
viewsPhp array check for values or keys
[TotalPed] => Array ( [VlrTotalIPI] => 0.00 [VlrTotalItens] => 652.68 [VlrTotalDesc] => 0.00 [VlrTotalPed] => 652.68 [PercComPed] => 0.00 [PercComPed2] => 0.00 [VlrFrete] =>…
-
2
votes2
answers410
viewsForm only submits with the Enter key
Inside the backoffice of a Prestashop-based store V.1.6.1.3. When I try to register a product, it happens very strange problem that does not present error in anything even using debug mode on:…
-
2
votes4
answers1196
viewsDifferent colors inside the tag H1
Is there any way to apply different colors to each snippet of a text within: <h1>Cor1 Cor2 Cor3</h1>
-
2
votes1
answer750
viewsExchange data-src for CRS
Good afternoon to all! I have a question, it may be simple (or not). You can change attributes? Example, I have an img tag with a data-src attribute. I want to turn this data-src attribute into src.…
htmlasked 8 years, 3 months ago Lucas de Carvalho 6,427 -
2
votes1
answer3545
viewsDestroy React Component (Unmounting Component)
I would like to know how to destroy a component with React by clicking a button. I found a way out, but in my conception it is quite "gambiarrosa". I have a state called show and when click on close…
-
2
votes1
answer34
viewsUsing Code Snippet in HTML5
I’m putting together a page and in its contents there are code snippets HTML. I tried to insert snippets of code this way but it didn’t work: /* <!DOCTYPE html> <html> <body>…
-
2
votes2
answers222
viewsHow to show the Getall data I performed in an HTML table? MVC C# HTML
I’m running a simple site in mvc, by the college. I have to perform a crud. I created a getall method that lists all existing clients in a list. How can I pass the same to the view? I tried the line…
-
2
votes3
answers1008
viewsCan I create a dropdown menu inside a a href?
In case I have a tag <a>, I can add just like a tag <ul> with <li> to create a dropdown menu <a href="out_denuncia.aspx" id="menuHomeMaster">Denúncia/Sugestão</a> or…
-
2
votes1
answer416
viewsCopy HTML from a page display in a textview
I need a direction. What method to "download" a page’s html (text only) for example: https://pt.wikipedia.org/wiki/Tancredo_Neves and display it in a textView?…
-
2
votes2
answers158
viewsI can’t talk with specific class in css
I made a menu and now I’m trying to style a dropdown menu, but I’m not getting through to a of .dropdown-content. I realized that the .header-menu ul li a is hierarchically above .dropdown-content…
-
2
votes1
answer82
viewsHow can I fix this menu at the top,?
I’m with a site with a menu that’s below mine header, 150px below the top of the screen. I would like to make sure that when I scroll the page and the site menu got the position 0 from the top it…
-
2
votes2
answers1542
viewsPHP progress bar
I am using the functions below to make a progress bar: <script> function upload() { var request = new XMLHttpRequest(); request.upload.addEventListener("progress", uploadProgress, false);…