Most voted "html5" questions
HTML5 (Hypertext Markup Language, version 5) is a generic term for recent web technologies (HTML, CSS, and Javascript). It is also the latest iteration of the HTML Recommendation scheduled for 2014, and featuring new elements and Apis.
Learn more…3,881 questions
Sort by count of
-
0
votes1
answer73
viewsVertical text / HTML_CSS
I want to know how I can insert a vertical text with CSS, I tried to put position: absolute; top: 50%; left: 25%; width: 50%; text-align: center; vertical-aling:middle; I think I’m putting the wrong…
html5asked 6 years, 8 months ago João Brasilio 1 -
0
votes1
answer44
viewsJavascript function does not execute when selecting a radio button
I created a Javascript function that needs to be executed every time one of the buttons on the radio button is selected. But nothing happens. Follow the code: <script> document.write( )…
-
0
votes1
answer64
views -
0
votes2
answers92
viewsMerge query returns to be populated a combochart
I have 2 appointments in the bank: One returns the goals of the day until the last day of the month: DIA META 1 3,23 2 6,45 3 9,68 4 12,9 5 16,13 6 19,35 7 22,58 8 25,81 9 29,03 10 32,26 11 35,48 12…
-
0
votes1
answer69
viewsHow to use bootstrap Carousel in a wordpress theme
I made a simple theme in wordpress and am using this kind of js: (function($) { console.log("teste"); $('.carousel').carousel(); })(jQuery); and this html: <div id="carousel1" class="carousel…
-
0
votes1
answer39
viewsIs there a way to use a non Form-Associated element as a natural associate?
In the HTML, there are the elements 'Form-Associated', which are elements that are associated with form which are inside, like the input for example. Good, but even if it’s unusual, if in a certain…
-
0
votes1
answer185
viewsHow to change position of a table in vuejs
It is currently found like this: It was supposed to be like this; I’m having trouble, can someone help me, please? This is the source code. <!DOCTYPE html> <html…
-
0
votes1
answer46
viewsCan including files and repeating <html> and <body> tags cause problems?
Assuming I have a file called home.php and he’s got the following codes: <html> <head> <p>Head do home.php</p> </head> <body> <span>Body do…
-
0
votes1
answer107
viewsDrag a div and on drop, save your location in the database
Hello, I have the following code: <div style="width:200px;height:200px;background-color:red"> <div style="width:20px;line-height:20px;border-radius:100%;…
-
0
votes0
answers36
viewsRecording in DB does not work when using alertigo.js
I have a code to update and delete data in the database so that unfortunately it shows the custom Alert on the screen so it does not write to the database and does not update the bad page but save…
-
0
votes2
answers222
viewsHow to create a javascript function to check whether a cookie has been saved or not?
I’m an information systems student and I’m learning how to create cookies in javascrit using functions and webstorege, but I’m having trouble creating the function to check if a cookie has been…
-
0
votes1
answer28
viewsSend data to a pdf and email file
Good afternoon I would like to save data from a form of an html page when users register and commit in a pdf file and be sent to a predefined email but I do not know how to do this, I have the form…
-
0
votes1
answer118
viewsCenter submenu with menu
/*Sub-Menu*/ .menu.superior .nivel-dois, .menu.superior .nivel-dois, .menu.superior .nivel-um li:hover .nivel-dois{display: contents;po;position: unset;} .pagina-login .menu.superior, .pagina-busca…
-
0
votes1
answer126
viewsdifficulty to list data in angular 4 datatable
As the title says, I cannot load the database records into the Primeng datatable. No error messages appear on the Visualcode console, no error messages appear on the internet browser console, no…
-
0
votes1
answer35
viewsHTML <TEMPLATE> Tag for code blocks repeats
In a document .PHP I have a piece of .HTML over 20 DIV practically identical (see below the code). I wanted a way to declare a DIV "repeats" only once and where necessary to repeat it throughout the…
-
0
votes2
answers55
viewsLogical problem when assigning value using JS
As explained in the paragraph below the goal is to create a betting game, so far so good, the Odd bet works perfectly by adding the amount bet to the total of points but the same does not happen…
-
0
votes1
answer721
viewsvideo open in javascript
Personal I am layman in this area. I would like to know how I can this playing this url https://ns5001921.ip-192-99-16.net/Uploads/Animes/1/2x2-shinobuden/01.mp4 in this javascript file // SISTEMA…
-
0
votes1
answer58
viewshow do I define where my scroll animation(jquery) should end up as a string on the page
Hello, I would like to know how to define a location where the scroll effect of site one page should stop. The problem I face is that by clicking on one of the links in my navigation menu in the…
-
0
votes0
answers573
viewsInsert link streaming in page - HTML
So, I’m trying to implement a link streaming "rtmp" to an html page, but without success, I’ve tried several mode but none that effect surtisse, the link below and what I want to be displayed in…
-
0
votes0
answers17
viewsIncompatibility Browser Edge Updatepanel
I have an Updatepanel, which works perfectly, in Chrome browsers and firefox, it does not update the page, when I change something in the combobox, but in the EDGE browser it updates, I have tried…
-
0
votes2
answers535
views -
0
votes2
answers2173
viewsPick data-attribute from a selected option by clicking on button
I wish that by clicking the button I could pull the value and data-dado of the selected option. I tried with the code below, but it didn’t work: $("#botaoexemplo").on("click", function() { var valor…
-
0
votes1
answer1584
viewsFontawesome does not carry correctamete carries squares
After performing the settings and installing the font-awesome with the Bower and call you through my file Sass through a name file Sass plugin. The same is not run only appear a few squares. Before…
-
0
votes1
answer1028
viewsPopular Canvas Chart with Database List
I need to make a Dashboard and I’m having a hard time to popular a line chart of a canvas chart. I need date and label arrays to be filled with data from my list but don’t know how to do it What I…
-
0
votes2
answers84
viewsindexof is not recognized inside the for
Hello I am trying to run this code so that it captures all the links of a page, it works all ok, the problem is that I want to find links that contain a certain word using index but is giving the…
-
0
votes0
answers109
viewsProblems with loading . js and . css into external files . php
I have an application that is presenting a problem that had never happened before, recently I started using Javascript to load content without refresh using ajax, but this caused a problem. Every…
-
0
votes1
answer37
views$_POST not returning correctly
Can someone help me? I have a small problem in a registration code that I am studying, I want to make the connection with him in the database, however I am not able to receive the data via POST.…
-
0
votes1
answer126
viewsShow div below div on mobile
I’m a beginner in CSS, have divs two and three columns that fit well when displayed in PC, but I need to modify their behavior when viewed in the mobile. I would like the divs were under each other…
-
0
votes1
answer168
viewsReplicate sidebar on all HTML pages
I’m studying a code, and setting up a website with it. But, I made changes to the Dashboard sidebar, but they weren’t replicated to the other pages, I’d like when I changed the Dashboard, all the…
-
0
votes1
answer164
viewsCentering buttons on a div does not work
I created a div containing several buttons, and I set in two of these buttons (those of the second row of buttons) the attribute align = "center", html itself. But it was the same thing as nothing,…
-
0
votes1
answer346
viewsHow to login validation in angular4?
Dear friends, good afternoon, I would like to know how to show an invalid password or user message in angular 4.` Login Hello! Log in with your email <div class="row"> <div…
-
0
votes0
answers216
views -
0
votes2
answers641
viewsList and sum selected items
I need to list the value in (R$) inputs and select html, as if it were a shopping cart, but I need this list and total value to be presented in real time to the user to be sent the list by email...…
-
0
votes0
answers33
viewsYoutube fullscan problem on Adobe Muse website
Good morning! I’m developing a responsive website through Adobe Muse. The site is based on 5 break points (1200px-1000px-800px-600px-400px) and has come out very well on several screens I tested.…
html5asked 6 years, 7 months ago Danilo Pupin 1 -
0
votes1
answer95
viewsHow to clear an "invalid" field
I have an input that only appears before a condition, but when it runs the script is run again and the condition is invalid, the input keeps appearing, I’ll probably have to create another Function,…
-
0
votes2
answers859
viewsFill Bootstrap modal with a div value
I have a table in which the loader value inside it through PHP needs to be in the value of some inputs that are in a modal boostrap window. I’ve tried several solutions, but they don’t work. When I…
-
0
votes1
answer1701
viewsJavascript dynamic form
I have a project where the form has to be dynamic, for example when filling name and age appears other fields like the address and so on, I would like some tip on how to do this with…
-
0
votes0
answers36
viewsProblem adding products to cart
$id= $_POST['id']; if(!isset($_SESSION['itens'])){ $_SESSION['itens'] = array(); } if(isset($_POST['id'])){ $id= $_POST['id']; if(!isset($_SESSION['itens'][$id])){ $_SESSION['itens'][$id] = 1;…
-
0
votes1
answer146
viewsHow to exchange content without changing the structure?
I started making a website in the code anyway. Only this site will have several pages where on every page, the structure is the same, what changes is only the content. In order not to have to do the…
-
0
votes3
answers459
viewsIs there a specific event in Javascript to detect when a <option> of a <datalist> is selected?
In Javascript, it is possible, through the onchange, oninput and related, detect if a certain input is amended. Example: var qs = function (el) { return document.querySelector(el); }…
-
0
votes2
answers129
viewsSend values from a <H5> tag to a variable in PHP
Good afternoon, you guys, I have some information in a code that is being displayed with the tag inside an Echo, below these, I have a field for free writing, I need to send all these attributes…
-
0
votes1
answer23
viewsI cannot put menu above text
function toggleSidebar(ref) { ref.classList.toggle('active'); document.getElementById('sidebar').classList.toggle('active'); } #sidebar { position:absolute; top:0px; right:0px; width:600px;…
-
0
votes0
answers93
viewsResponsive HTML5 banner does not work
I am trying to include a responsive banner on my site (wp 4.9.6), following a guide I found on the internet (I am amateur). Banner loads normally on desktop and responsiveness works on some Android…
-
0
votes2
answers430
viewsAllow Submit to appear only when CERTAIN fields are filled in PHP
I need the DIV with Submit: <div class="botaonovochamado"> <input type="submit" name="CODIGO" value="Novo"> </div> Only appear when certain fields are filled in. For example:…
-
0
votes2
answers52
viewsLeave the CSS centralized
I just made this code but there’s a problem. How do I get the img centered? I’m trying to change my body, but nothing happens. Can someone help me? Thank you! body { margin: 0; padding: 0; } #back {…
-
0
votes0
answers139
viewsFetch and Json Problem in Jquery Javascript
I’m having a problem with Javascript Fetch let url = "https://www.teste.com.br/ws" fetch(url,{ mode: 'no-cors', method: 'GET', headers: {'Accept': 'application/json','Content-Type':…
-
0
votes1
answer79
viewsProblems with Iframe and js
I have the following code below that shows a regressive chronometer on my page, the idea is that when zeroing it shows an iframe(video), even shows but the video is flashing as if only it was in…
-
0
votes1
answer485
viewsHow to display the tr’s next to each other with the tds one below the other within the html table?
Good afternoon guys, I have an html table where I’m displaying data coming from the database in the table lines (tr), I’m trying to display the lines in the table next to each other with the tds…
-
0
votes1
answer3597
viewsHow to add the "active" class according to the page accessed
I have a separate layout in my project, where it is standard for all pages. how to do, in the left menu, the active class is activated according to the selected page. I have the html code: <div…
-
0
votes1
answer530
viewsBootstrap v4.1 - Collapse does not work correctly
Follows code: $('#collapseDescricao').on('hidden.bs.collapse', function () { $('[data-target="#collapseDescricao"]').text("Mostrar descrição"); }); $('#collapseDescricao').on('shown.bs.collapse',…