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
votes1
answer405
viewsClear input value at material angle
I have a input in Angular Material: <mat-form-field class="width-layout p-0 col-xs-12 col-sm-4 col-md-4 col-lg-4" [class.mat-form-field-invalid]="errorValue" appearance="outline">…
-
0
votes1
answer563
viewsWhat is the <Frameset> tag for?
I was reading this topic on the Mozilla page, and a piece caught my eye: Returns the element <body> or the <frameset> of the current document, or null if none of these elements exists.…
-
0
votes1
answer250
viewsDynamically generate input - html, javascript and Jquery
Friends, I need to receive a numerical value and from that input, automatically generate the input. For example, type 5, and the program generates 5 input for numeric input. What I have of code is…
-
0
votes0
answers29
viewsHow to use overlay in a dialog inside a window in Kendo UI?
I currently use the Kendo Ui Angular I am currently trying to use inside a window a component that calls a dialog, but my dialog is not applying the overlay opacity effect, currently having this…
-
0
votes0
answers48
viewsAjax - Commando Load does not work
I wonder why the load command is not loading the header.htmlfile. PS.: Both are in the same folder. File: main.html <!DOCTYPE html> <html lang="en"> <head> <meta…
-
0
votes2
answers37
viewsProblem with using Else
Good evening, I’m having trouble that is the following, on the requested page if the user has 1 order or more it displays the request, if the user has no request appears the message "You have no…
-
0
votes2
answers54
viewsRunning ajax within a table
Good afternoon everyone, I’m trying to make a code where it shows how long a request has been opened and I have an ajax that keeps updating this counter every second, my problem is that this request…
-
0
votes1
answer35
viewsisLoading on request is not working
I am trying to put an isLoading on my application made with React but it is not working, I have my handleSearch function that is making the request, this function is being passed to my component…
-
0
votes1
answer236
viewsJavascript elements breaking line
I created a simple HTML just to test the behavior of Javascript in the HTML document, but the Javascript element skips a new line when I actually want it to be in the same line of text. var casa = {…
-
0
votes1
answer80
viewsSelect select select value and open different links by clicking the button
Good afternoon, I am in need of a help, I need to select the value of the choice of a select and call a different link to value, by clicking the button. <div> <button…
-
0
votes1
answer190
viewsHow to display message after updating a record using PHP?
Well, inside my main page(index.php) I check if there was any request to the server. // Atualizar if (isset($_GET['update'])) { $id = $_GET['update']; $cliente = array( $nome =…
-
0
votes0
answers125
viewsHow to get all files used on a page using "requests"?
As we know, when accessing a website by browser, various files such as images, music, scripts, CSS, among others, are downloaded to be used within a page HTML. Using the library requests, it is…
-
0
votes2
answers54
viewsWhy is the red background color not being applied in the menu?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
-
0
votes0
answers101
viewshow can I make my carousel change image without javascript
Hello, I created a carousel with 3 images and wanted to make them change automatically without running a javascript code. I’ve been searching but everyone recommends using javascript and other ways…
-
0
votes2
answers769
viewsSet default input value without appearing to the user
I wonder if it is possible for me to define a default value that would be number 0 without this 0 being shown to the user, this value is necessary because I am taking these numbers typed and…
-
0
votes1
answer250
viewsAngular: ngModel is not being recognized
I’m using ngModel to insert value into variable through input, but the same is not being recognized, if I do with isolated values it returns nothing, if I try with object it returns Undefined Html…
-
0
votes3
answers108
viewsHow to replace a string depending on page resolution
I’m new to programming, so I don’t know how to use a lot of technical terms. I have an html pagination file. When I arrive on Mobile, the words "Previous" and "next" break line and stay below each…
-
0
votes2
answers58
viewsproperty order does not work
Good i created a page for pc and wanted the order that shows some things to be changed with the css order property, but I n what happens that is not changing the order of the objects, someone can…
-
0
votes1
answer802
viewsExpand and Collect div
I have a div (#Adm) that shows me the result of all registered users and in front a button to unlock or block the user. How do I click it, make it expand and retract showing the results ? <div…
-
0
votes0
answers510
viewsOverflow in Material Table
Good morning, I have a table with material table and I need that when the column data exceeds its size, it generates a scroll with overflow. It’s been a while since I’ve been looking and trying and…
-
0
votes2
answers234
viewsHow to skip line when reading a txt in PHP?
I am working on a system that will run on the Web, using PHP and html and I have a question. My program reads the txt and separates the information through the delimiter ; writes to an array and…
-
0
votes1
answer52
viewsTransfer value from one input to another
I have a field for general search and other segmented search fields (Pending, Current, Closed), I want everything typed in general to be automatically passed to the segmented ones. I created this…
-
0
votes1
answer356
viewsHow to load a value into a DIV after selecting an option in the dropdownlist of an input text that uses Typeahead and Ajax?
Hello! I am developing a project where I am using the plugin Bootstrap Twitter-Typeahead where I load values inside an input text. The page I am developing has 2 fields: 1. An input text field whose…
-
0
votes2
answers243
viewsSwitch Case with Java Script and Checkbox
Hello! I want to make an app on want to make a function in which the user choose the type of Uber that he will catch, marking a CheckBox with the Uber type (Uber X, Select and Black). For that I…
-
0
votes2
answers49
viewsHow to make the custom select of the screen "Suppliers" search information (Company name) in the table "Company"
I am developing an Asp.Net application using MVC 5. I have created one select on the Vendors screen and I would like to know how I can get the information from my bank and show them in this custom.…
-
0
votes1
answer358
viewsReplace input file with icon/image with Image Preview
I have a form where it has a input file with preview image before upload, trying to replace the input for an image, but I’m not getting it. PREVIEW SCRIPT <script> // PREVIEW FOTO function…
-
0
votes1
answer102
viewsCheckbox with checked property does not return me any value
I have a code where the person must select a modality of the academy, for example, the martial arts plan, the person must select which fight she wants. So I made the following code: <div…
-
0
votes0
answers81
viewsHow to force element state of the HTML template?
Using the CSS framework Materialize, I came across the following situation. I own some fields <input> with <label> as the example: <label for="name">Nome</label> <input…
-
0
votes0
answers420
viewsCSS Printing: Image Cropped in Page Break [Solved]
I’m having trouble printing, when using an image, the same cutting in the page break, I tried to use page-break-inside: avoid;, didn’t solve. What can I do to prevent images from being cut when…
-
0
votes2
answers57
viewsJava script: get the element by ID says it is NULL
I am learning to code in javascript and I made a small code to sum two numbers. I put the result to be overwritten on top of "result", but this is not done. When using the chorme element inspect it…
-
0
votes1
answer188
viewsposition: Sticky does not work in my header
Guys, I have a header that position: Sticky is not working and I don’t understand why. HTML <header class="header_bg"> <div class="container"> <div class="header"> <div…
-
0
votes0
answers34
viewsHow to place the path of an image with restricted length in the database
Ola, I have a string type variable that should save the images, but it has length 40 and when trying to put the error path. I have a folder in wwwroot where I store the images and want to store in…
-
0
votes1
answer38
viewsHow to Put Elses If in Layout
Ola, I am trying to put in ifs layout in order to change login to logout but it is not working. In Layout I have this code : @using Microsoft.AspNetCore.Http; @using WebApplication1.Controllers;…
-
0
votes3
answers108
viewsJavascript input check
I am making a form with sending 2 types of photo, and I would like to know how to do a javascript check to see if the person sent any of the 2 options, and if you have not sent any of the 2 does not…
-
0
votes2
answers283
viewsUse of Ng-Click and Hidden with Angular 7
In my project I have a card to which when I click it appears the information of that user, my purpose is that when clicking it opens only of the user I clicked, but nevertheless, it ends up opening…
-
0
votes2
answers123
viewsHow to simulate button click on jQuery?
I have a function that performs by clicking a button on jQuery. $('.btnEntrega').click(function (e) {= idPrograma = $(this).data('id'); CoresFormasPlacas($(this).data('placa'),…
-
0
votes1
answer35
viewsDisplay image only on those with database data and display name when mouse over image
Good afternoon, I have a list of patients, where displays files through a href giving to visualize them, i want to display an image instead of a "link" (as it is in the picture below) and when I…
-
0
votes2
answers47
viewsWhy doesn’t the contents disappear or appear when I mark the radio buttons?
<!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">…
-
0
votes1
answer36
viewsWhy is first-Child selecting the <p> element?
<!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">…
-
0
votes1
answer75
viewsRotate Element on Click
Well I am with 1 problem, I am using the accordion of jquery that when clicking on a list, it expands and shows all the information, associated to this "project". My problem and q I have an arrow to…
-
0
votes1
answer40
viewscreate fixed top menu bar
I wanted to know how to create a fixed menu bar at the top, next to a side menu, that when scrolling the content div both the side menu and the top menu remain fixed. Follow html and template css.…
-
0
votes1
answer50
viewsDifferent audio on each slide of the bootstrap carousel
I’m developing an application with bootstrap and I’m using its carousel, but this carousel has text and will have different audio on each slide, but I don’t want to click on each indicator and…
-
0
votes1
answer113
viewsnavbar bootstrap is not at the top of the page
I am at the beginning of the production of a site, but my navbar is not in the top, it is in the middle of the page: my html is like this: <body> <nav class="navbar navbar-expand-lg…
-
0
votes1
answer515
viewsfunction js calling twice
I am having a problem creating a function in java script that needs to be executed in a file but this calling several times the same function when I try to put the function in input does not work…
-
0
votes2
answers140
viewsCreate a thought bubble in css
.balloon-box { width: 281px; height: 53px; background: #f1f1f1; border-radius: 26.5px; text-align: center; } .balloon-box::after { content: ""; display: block; width: 17px; height: 17px;…
-
0
votes2
answers75
viewsWidth changing unlike function logic
I am creating a page, the goal is whenever I click to expand the menu the resolution of the div decrease a little and whenever I click again this resolution increase pro normal size. My logic was…
-
0
votes2
answers54
viewsInsert from a table with for
I have the following html: <?php $j=0; while($rows_cursos1 = mysqli_fetch_array($resultado_cursos1)) { ?> <tr> <td style="display: none"><input type="text" name="NomeUtente[]"…
-
0
votes1
answer107
viewsSet icon and display file name depending on file extension
Ultimamento I’ve been fiddling with uploads of files, view them with PHP and etc... and came to me a question the head, I searched but I did not find something right. How close I can get to making a…
-
0
votes1
answer72
viewsI can’t enable javascript function
I’m trying to implement a very simple function of leasing a particular product. I need the id is read within a field and activated with the button Schedule. But the function is not activated when I…
-
0
votes1
answer63
views.val() does not work on the textarea tag
I’m taking a data that is in an attribute of my select-option (date-observation), so far so good, however when I try to pass this value to my textarea the value is not printed, just on the console,…