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
votes0
answers102
viewsLimit values displayed in jquery
How do I "limit the amount of values ordered by go below? I tried to create an array with the Divs and change the display property.. but it does not take the order of the elements.. Much of this…
-
0
votes1
answer68
viewsScrollspy wordpress
Good morning I would like a help am using wordpress and I put the following menu class CSS_Menu_Maker_Walker extends Walker { var $db_fields = array( 'parent' => 'menu_item_parent', 'id' =>…
-
0
votes0
answers80
viewsPut background in Toogle Navigation in mobile version. The menu is not disfigured but without background!
I have a template of which in the version mobile looks like the image below: How can I make the menu stay on the logo? Below the code: <div class="navbar-header"> <button type="button"…
-
0
votes1
answer254
viewsPass innerHTML inputs to form and access via PHP
I have an HTML form, normal input fields, Submit button... Through a JS function, I add additional input fields to a DIV (with innerHTML). var div = document.getElementById('produtos-adicionados');…
-
0
votes1
answer103
viewsHow to adjust email text to the box?
The image was obtained with the browser resized to the dimensions 390 X 650 approximately. I would like to know how to do the text "[email protected]" that is inside a h4 fits the…
-
0
votes1
answer553
viewsHow to detect if the user is accessing through a webview app
Hello, I created a webview app for my site because it is 100% responsive and adapts well on mobile devices, but in my menu has a link to you download this app, I would like to know how I can…
-
0
votes1
answer464
viewsWhen loading list, mat-select should be already filled
This is my html <div class="container"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table-bordered"> <caption> Lista de Aplicabilidades…
-
0
votes0
answers36
viewsDivergent Results When Filtering Response in API
Edit: I managed to get him to create a single tab-crash, but now he’s not filtering the games according to the championship as you can see in the image below, he’s printing them all! I edited the…
-
0
votes1
answer1128
viewsRefresh automatico PHP
Eai guys I’m setting up a system here and I need the page to give automatic refresh every 60 seconds, how could do?
-
0
votes1
answer185
viewsPositioning Codeigniter Chat Messages
Hello, I’m developing a messaging app (chat) and it’s almost finished and working. It turns out that the messages are all aligned from left to right, regardless of the message user. Example: User 1…
-
0
votes3
answers2419
viewsHow can I calculate elements in Javascript
I need to take the amount id="valorPorcentagem" which is the percentage value with the (id="valor_vendedor") and automatically add to id="comissao". Whereas: valorPorcentagem / 100 x valor_vendedor…
-
0
votes1
answer1627
viewsBootstrap breaking line
I am mounting a modal in bootstrap and inside it using a form. with the <div class="form-group"> within each of these sets a grid, with col-Xs- that the sum of 12 (one with 2, 2 and 8) but…
-
0
votes1
answer154
viewsHTML snippets for JSX
Does anyone know where I can get HTML Snippets to use in Javascript? Example: input: h1 + tab output: <h1></h1>
-
0
votes3
answers1083
viewsOnclick, With two "Actions" on the same button. PHP
I would like to make a button that when clicking perform action 1 of the onclick and when clicking again perform action 2 and after clicking again perform the 1, and so on.
-
0
votes1
answer59
viewsError in IF condition
I’m doing a program in PHP but I’m having a problem. I want when $user_info is the same as Tiago Goncalves, to show the user’s image. The truth is that all 3 images are shown on the website. HTML…
-
0
votes1
answer137
viewsEmbedded Form Mailchimp does not redirect to destination page
Follow the code of the Form I am working, the problem is the following, using it as it is, is not redirecting to the link of the e-book that I would like, I tried to put >…
-
0
votes0
answers63
views*ngFor with ngModel and value
I have the following repeat structure: TS resposta: string[]; HTML: <ion-card *ngFor="let pergunta of perguntas; let i = index"> I have an ngModel that I need to print its value at its value:…
-
0
votes1
answer424
viewsHow to change specific contents in the script of a //PHP file
I wonder if someone has or can get me some script to change contents of a PHP file in specific lines without changing the others, it may be fopen, fwrite and fclose. Actually want, along with data…
-
0
votes1
answer581
viewsShow fixed banner at the bottom of the site
I would like to show a fixed banner at the bottom of my site, but I want it to track the content of the site conforms by rolling the site to downloaded or up, I have already been able to show the…
-
0
votes4
answers1052
viewsHow to mount 3-column CSS mosaic?
I am having difficulties to assemble the mosaic of the example below for the mobile version of my site The version in orientation:portrait must be something similar to that:…
-
0
votes2
answers170
viewsDeactivate Combo select
Expensive; I tried several ways to disable the Select combo (mespgto) when the checkbox (radio04) is set to "checked=true", but without success. Could you help me? Obs: The way the function is…
-
0
votes1
answer153
viewsCss grid and input system
Well I’m setting up a grid and some input, yesterday I posted a problem I was having with the grid and FERNANDOSAVIO helped me. I’m having a similar problem when having to put the input inside the…
-
0
votes0
answers244
viewsFix overlay of HTML elements?
I would like to add content to a platform block (how it shows red text capture). When adding an element by default it is at the end of the block ( below the image visa). I’d like my div to stay…
-
0
votes2
answers216
viewsHow to know one HTTP_HOST and redirect to another
That is, when HTTP_HOST is equal to site1.com or site02.com it redirects to novosite.com I tried something like this below. but it didn’t work. <?php if ($_SERVER['HTTP_HOST'] == 'site1.com,…
-
0
votes1
answer109
viewsUse drag and drop to position an image
My doubt is the following, I have a content posting page and on this page, at the end, I have a photo upload field to be part of the content... But what I wanted is for the user to position the…
-
0
votes1
answer40
viewsUpdate the first input when inserting
I have this form: <form name="form1" class="teste" class="form-validate" id="feedback_form1"> <div class="campo"> <fieldset> <h1> <legend> <center>…
-
0
votes1
answer37
viewsDisplay all text on button
Hello! It is possible to display all button text on it? Automatically adding these ellipsis, but would like to display all the text. <ion-segment-button value="Bareserestaurantes"…
-
0
votes2
answers91
viewsHow to change option from JSON return
How do I change the option below, based on JSON return: <select name="modalidade-frete" id="modalidade-frete"> <option value="0">0 - Por conta do emitente</option> <option…
-
0
votes1
answer1449
viewsEdit Image in Mysql + PHP
Hello people first ask me here on the website sorry if I end up doing something wrong. My doubt is the following, when I will make the change of the data of a product always have to put the photo in…
-
0
votes1
answer1513
viewsHow to identify the child element clicked through the event click on the parent element
I have the following code: <div class="tipo-cadastro"> <div class="box-logista active">Logista</div> <div class="box-distribuidor">Distribuidor</div> </div> and…
-
0
votes2
answers181
viewsHow to automatically generate fields
I need to go to the database to find the image and show it in each <li> </li> But I needed to make it automatic, because there are many photos, there is some way? <div…
-
0
votes1
answer483
viewsUse of . append() or . html() - jQuery
I am unable to insert html into an element. JS function carregaAgendamento() { var url = "http://prestoexpress.com.br/vistoria/json.php"; $.getJSON(url, function(result) { console.log(result);…
-
0
votes1
answer513
viewsToggle page content by changing only the div
I’m creating a website, where I want to use the main page div to switch between other pages. For example, I have index, content 1 and content 2. I want to make sure that when I click on the link,…
-
0
votes1
answer157
viewsSite does not get responsive in Mobile dimension
I’ve been creating the website with the code below but I can’t make it responsive in the MOBILE part (320x568), the content is on the left side and on the right side is a big white part in the whole…
-
0
votes0
answers40
viewsCSS POSITION:RELATIVE - Why not just use Absolute?
If a position:Absolute can be positioned anywhere on the page (including background) and adjusted with Z-index, why is it necessary to use position:relative? Why not just use Position:Absolute?…
-
0
votes1
answer243
viewsHow to insert and restate a list of items in the database
The code below allows the insertion of n items in the array $scope.items[]: var app = angular.module('app', []); app.controller('controlador', function($scope, $http) { $scope.user = {};…
-
0
votes1
answer529
viewsJavascript - Dynamically populate second column of table html
Good morning, everyone I’m having problems with dynamic tables using javascript, I’m new and I’m not sure what to do. The question is: I have a table created in html with two columns, the first one…
-
0
votes3
answers169
viewsHow to know if Modal has active scrolling?
I have a modal that scrolls when the content of the window is larger on the screen..., I would like to put a different class when the modal scrolling was active, in the example below it changes the…
-
0
votes1
answer740
viewsHow to blur image in css without leaking?
I would like to learn how to unfurl an image without leaking in Wordpress - Take the example How do you do!…
-
0
votes1
answer1065
viewsReal-time html, css and javascript editors offline
I’ve been using a lot of real-time editors like codepen.io and jsfiddle.net, however they are online, I researched some programs offline and most of them are paid or do not do the same service, you…
-
0
votes1
answer122
viewsJavascript function does not resume $_POST from PHP
I’m implementing a progress bar in a simple file upload script. I have the three files that are giving me a headache, Upload.php where the upload script is located, script.js where is situated the…
-
0
votes1
answer77
viewsI need two clicks to activate Jquey function
Hello, I am learning how to work with AJAX/JSON requests, and I came across a problem (which I think is more to do with Jquery, but I added PHP and AJAX tags, because you never know). come on; when…
-
0
votes1
answer77
viewsUse of React in backend and small projects
You can integrate the React application with some back end language? I can apply React to small projects or only when needed? React came to break the standard web development paradigm, where I…
-
0
votes1
answer44
viewsAdd success message and don’t quit to the.php process
I have a form code, actually I joined 2 codes to create this, but in the old code the form directed to another page processo.php wanted to send the form and appear a success message that already has…
-
0
votes2
answers152
viewsHide div when you click it
How can I click the div and stop displaying it? I’m using onClick but it’s not running. My div: <div class='alert alert-danger aviso' role='alert' style='width: 20%;'>Falha ao carregar os…
-
0
votes1
answer225
viewsHow to configure the Summernote editor to display a web page within the window?
Good morning, wanted a little help and tips to make the summernote text editor open a web page, for example on a page I am typing HTML normally and with clicked to see the code, would appear the…
-
0
votes1
answer112
viewsIs there a list of objects when sending requests in html?
I’m developing a small web project in python(flask) for my own learning and came across something that I had never faced before. I have a registration form where the fields of an information are…
-
0
votes0
answers406
viewsRefresh a div of a Dashboard without reloading the entire html page
I’m finishing my CBT and I came across a problem. I am creating an administrative control panel and would like it to display in real time a Count from a table in my database. I was told that the…
-
0
votes2
answers349
viewsCheckbox Switch - One of them must be marked as true or 1
Example: I have 6 different checkboxes. All of them have name="checkbox[]", one of them must be marked with 1 or true. Here’s an example in jsfiddle: https://jsfiddle.net/vh8d9un8/14/ The "SUBMIT"…
-
0
votes1
answer132
viewsUpload a local image inside a webview
I have a component WebView who carries a String HTML, the problem is I can’t carry a local image inside that WebView. The image is inside the folder '../img/imagem.png' and when I place this…