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
- 
		3 votes2 answers4231 viewsHow to assign HTML code to a Javascript variable?I have the following HTML code: <table class="al-center" style="width: 520px;"> <tr> <td> <div class='form-group'> <label class='control-label' for='auto'>RECEBIDO… 
- 
		3 votes1 answer195 viewsMenu for mobileI’m making a website for the company where I work and I made a Multilevel menu. My problem is that when I open one of the levels, the last item does not appear and when I scroll what moves is the… 
- 
		3 votes2 answers13898 viewsPicking up content from an HTML tag with JSWell... my doubt is how to capture the value that lies between: <ALGUMATAGHTML> O valor definido arqui</ALGUMATAGHTML> Since the value I want to capture is: <span style=""… 
- 
		3 votes3 answers729 viewsGet font size in HTMLI need to get the source information that is configured in the HTML tag with Jquery. I know to get the font-size just use: css: p {font-size: 12px;} JS: var tamanho = $("p").css('font-size'); The… 
- 
		3 votes2 answers935 viewsHow to make it play a song when the user puts the mouse on top of an element?Is it possible that when the user hovers over a particular element on the site, a song would play? If so, how? 
- 
		3 votes2 answers691 viewsWhat is the correct tag for grouping elements into an asideI’m creating a sidebar for my site, I want to put something like "last posts, social network, a kind of top downloaded etc." or something simpler "last posts" just :D .. but I’m in doubt about tag… 
- 
		3 votes3 answers189 viewsIs there any way to write a function on the screen other than by onclick?Hello, the only way I know how to call a javascript function in html is by onclick, but my html is not a button to click, I wonder if there is another way to show a function when it is called. ex:… 
- 
		3 votes3 answers758 viewsHow do I know if a record has been added to the database?Hello, I am working on a warning system, when a data larger than normal is registered in the database an alert has to appear on the page where the user is browsing. The problem is that I don’t know… 
- 
		3 votes1 answer18816 viewsWays to put one site inside another?I’m studying the tag iframe HTML5, I saw that with it we can place websites and videos within a page. However, I did some testing, with PHP and HTML files. The only way that it worked out that the… 
- 
		3 votes2 answers94 viewsEmail Marketing - ResponsiveSomeone has done email marketing responsive, I found several templates on the internet they work responsive in the browser more when triggering email by Outlook or virtual target and open on mobile… 
- 
		3 votes1 answer447 viewsRemove space between menu and contentHello I have a little problem... Let’s say that between the menu and the page contents are with this huge hole... And I would very much like to remove it... the worst that has nothing in the code to… 
- 
		3 votes1 answer485 viewsSearch the bank in real timeHow can I do in PHP so that when the user type in the search field it already appears the database records. For example, assuming that it is a register of cities, the user type "Field", should… 
- 
		3 votes1 answer997 viewsDisable Radio Button from a table based on an input valueI have a table whose first column is an input and the rest of the columns are a radio group Buttons. This first input can only be given the values from 1 to 4. Radio buttons start disabled, and can… 
- 
		3 votes1 answer785 viewsAngularjs-Material how to change language to Md-datepicker EnglishI’m trying to change the language from Md-datepicker to Portuguese because the days of the week and the months are in English, so it gets confusing for the user... Is there any way to exchange this… 
- 
		3 votes1 answer3038 viewsCreate angular variable in htmlHello! I have a loop (ng-repeat) in my html file and would like to save its index in a variable to be able to pass parameter to a function. Does anyone have an idea how I can do that? Follow the… 
- 
		3 votes0 answers450 views
- 
		3 votes2 answers4079 viewsJavascript required HTML attributeI’d like to know how to do that, when the activeBtn were checked, the ordenadorBanners win the attribute required, I tried the model below but it didn’t work, I would like to know how to do it, and… 
- 
		3 votes1 answer659 viewsHow to reveal items when arriving on a particular scrollI would like to know how to do the effect of revealing items when the scroll of the page reaches the element, example of this site: http://www.metodistapirassununga.org/ The effect is on the blocks… 
- 
		3 votes1 answer436 views
- 
		3 votes2 answers534 viewsCSS tab system stops working when changing quantityI’m trying to use a system of tabs in pure CSS. It seemed very nice, but when I add new tabs or remove some it stops working, someone knows to tell me why? Only with 3 tabs works well: .tabs… 
- 
		3 votes1 answer760 viewsDownload image only by its URLI have this requisition: var exportUrl = 'http://export.highcharts.com/'; $.post(exportUrl, d1, function(d1) { }); Since exportUrl+D1 becomes the url of my image generated by the server. how do I… 
- 
		3 votes3 answers394 viewsIs it possible to remove the option all files in the file explorer?With accept I can specify which formats are accepted. <input type="file" accept="image/png"> It filters, but in the explorer it is still possible to select all files as in the photo. It is… htmlasked 7 years, 11 months ago Felipe Duarte 6,284
- 
		3 votes1 answer1157 viewsHow do I ask permission from the user, to get his location? showing an Alert with the options allow or not allow.How do I ask permission from the user, to get his location? showing an Alert with the options allow or not allow. 
- 
		3 votes4 answers943 viewsAdjust one td css onlyI have a table: <table border="2"> <tbody> <tr> <td><img class="imgpadrao" src="xxxxx" alt=""></td> <td> Recebido </td> </tr> </tbody>… 
- 
		3 votes2 answers1635 viewsz-index does not work on linkI’m having a problem creating a <div> masking and a link to disable this mask. In another layout that I had worked normally, now that I am performing the exchange it stopped working. I have… 
- 
		3 votes1 answer345 viewsRequest field fill in urlGood afternoon... I need your help. I have a page in html+php which is basically a field that queries a mysql database with ajax and returns the result as soon as the field is filled with the… 
- 
		3 votes2 answers2116 viewsReal-time Google Maps UpdateI’m using the Google map to show objects in real time. I did a function in Javascript which is updated every 3 seconds and in this it updates the marked ones in the Google map. Something like:… 
- 
		3 votes1 answer932 viewsRemove a specific element with JAVASCRIPT from an HTML structureHello I do not have much experience with js and I am with a problem believe that silly but that there are days trying to solve and I can not. I created a list of HTML elements with the following… 
- 
		3 votes2 answers3391 viewsValidate captcha before sending formI need a very simple captcha, but it can be validated before the form is sent, how can I do it? Currently use this: index.html <form method="post" action="valida.php" id="form" name="form">… 
- 
		3 votes2 answers1848 viewsAjax returning [Object Object]HTML index.html <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script… 
- 
		3 votes1 answer54 viewsCheck if text belongs to the widget and not to the childFor example, in the structure below I have a div that has a text and another div which also has a text. How can I capture or verify if a text is the direct son of a tag, and not the son of another… 
- 
		3 votes1 answer851 viewsPassing information to a ModalI have this routine using the C#Razor. It lists my messages : Code: @for (int i = 0; i < 3; i++) { <div class="box-body" style="line-height:15px"> <ul class=" products-list… 
- 
		3 votes1 answer297 viewsI need to fill 2 fields using selectI have a select with the following values in option: <select id="frutas" name="frutas" > <option value="">Selecione...</option> <option value="Maçã - 10.00"> Maçã… 
- 
		3 votes1 answer58 viewsI can’t get value from date-ObjectThere is the following problem I have several inputs listed with the same css class, but I need to take a data-attribute from each one by clicking on the respective input to get its attribute value:… 
- 
		3 votes2 answers343 viewsclassname, Setattribute or classList.addI have a JSON list that creates several objects from a blog and come across the following ways to add classes to the HTML objects that I create after loading the list: classname, setAttribute and… 
- 
		3 votes1 answer430 viewsBootstrap libs declarationI have declared bootstrap libs in the code so: My error is on the page, that when you click on the menu icon, it does not expand Behold: Any suggestions? <!DOCTYPE html> <html>… 
- 
		3 votes2 answers87 viewsHow to pass a different value in an HTML form?I am creating an HTML date filter so that the SQL query can return a specific value to me. I’m just trying to make it difficult to pass on this information because the form option needs to appear… 
- 
		3 votes2 answers376 viewsSpan inside @Html.ActionlinkI have the following column of a table: <td style="font-size:10%"> <p class="list-group-item-text"> @Html.ActionLink((string)item.cidadenome, "Cidade", "Cidade", new { cidadecod =… 
- 
		3 votes2 answers140 viewsClassification systemI’d like to bring up the positions. I have no idea how to do it. Below I’ll be giving a demo and my code <?php include("./configs/dados.php"); $ranking = "SELECT * FROM usuarios ORDER BY… 
- 
		3 votes1 answer57 viewsRestrict CSS to IEIs something missing in this parameter ? I need this style to apply to IE 11 only, when I include this code it works, but other browsers tbm take <!-- [if gte IE 8]--> <style> .box-form… 
- 
		3 votes0 answers44 viewsCan I run these PHP functions via HTML?You can run these PHP functions via HTML? <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"/> <meta content="width=device-width, initial-scale=1,… 
- 
		3 votes2 answers2217 viewsRadio de Preenchimento Obrigatório htmlHow do I place this mandatory field: <p><h5><strong>Estado</strong></h5> <p>    <input type="radio" name="Estado"… 
- 
		3 votes2 answers213 viewsHow to avoid excessive line breaks in a textareaSo guys, how can I replace in a text, excessive line breaks, making when I have more than one line break in a row these occurrences are replaced by a single one, regardless of how many were placed.… 
- 
		3 votes1 answer452 viewsProblem with onload eventI’d like to ask someone who understands pure javascript, why this is happening. I have a code that should only show the image when it is loaded (onload), only the function only fires when I Seto… 
- 
		3 votes1 answer86 viewsHow to convert html text (entities) to "normal" text?In my database are saved lines that are "read" by html, so are saved with tags and those characters that do not know the name =>  , é etc... the problem is that in my… 
- 
		3 votes2 answers735 viewsSource with low html qualitybody{ background: url('imagens/capa.png'); font-family: "Avantgarde", "TeX Gyre Adventor", "URW Gothic L", sans-serif; } .texto-capa{ text-align: center; color:white; display: table-cell;… 
- 
		3 votes0 answers62 viewsBlock browser access without Html5 supportI have researched and found some ways to "block" access from specific browsers, but would have some way to do this with everyone who does not have Html5 support? 
- 
		3 votes2 answers4674 viewsPick top, left element position according to parent elementI’m using jquery offset to pick the position of an element and I’m using draggable to move this element. The offset element is inside a div and I would like to take its position by the parent… 
- 
		3 votes1 answer219 viewsleave a responsive image horizontally, but not scaled, but cut horizontallyGood afternoon How to leave a responsive image, so that it is literally cut in its horizontal, so that you remove the horizontal scrollbar from the page, and do not get a "smashed up appearance" I… 
- 
		3 votes3 answers3242 viewsLoad HTML from another HTMLI would ask for help in loading inside my main HTML file external files from 2 other HTML pages Below follows the Nav <!DOCTYPE html> <html lang="pt-br"> <head> <meta…