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
answers106
viewsAttribute href exclusively for goal <a></a>?
It is correct to put the attribute href in a mark other than a. Example: <ul> <li href="#page1">Page1</li> <li href="#page2">Page2</li> <li…
-
3
votes1
answer243
viewsCreation of CSS Gallery
I’m trying to create a gallery that I believe is simple, but it’s giving me a lot of work and I’m not able to do it. I would like to know how I can do it and if you have any tips or useful…
-
3
votes3
answers1382
viewsHow to put a submenu, on a menu I already have?
I’m editing the blog, and I wanted to do a menu with submenus, but I don’t know exactly what makes it happen. I tried googling, but I got nothing. Only css tutorials appear, but nothing specific…
-
3
votes1
answer528
viewsValue attribute of options in select are not set correctly
I need to go through an element select on a page HTML placing the elements option within it. I can already do that, the problem is that in the attribute value of those option should receive the…
-
3
votes1
answer369
viewsHow to do this with Javascript?
I’m still studying Javascript and a friend of mine introduced me a site that has a very cool effect on your texts. This is the site: (example site) As we can see, when the site loads, it gives an…
-
3
votes1
answer594
viewsHTML+CSS Wanted to put a radio button as a symbol
Hey, you guys. I’m wanting to put the symbol Δ as radio button, and when I click on it, it flip that other symbol . How do I do this?
-
3
votes3
answers85
viewsThird IF ELSE
So, I’m a beginner in javascript and I was practicing doing a function that forces the scores of the CPF field function maskCpf(){ var c_char = document.getElementById("txtCpf").value.length if…
-
3
votes2
answers1156
viewsHow to do slow zoom/zoom effect?
Hello, I’m trying to make in Javascript a function that gives a zoom very slow in my image, ie increasing my background-size slowly, to give the impression of movement in the image. I tried to do…
-
3
votes1
answer4125
viewsHow to add an image popup when accessing the site
I would like to do a popup similar to that of Kabum, but without a form, with only one image and the option to close. I searched and found this code: <a href="#"…
-
3
votes1
answer332
viewsdata bind with arrays - Angularjs
Well, I’m having a little trouble figuring out the best way to solve this: I have several Skills and need to save each Skill with its score and id(from Skill) for each candidate. have an ng-repeat…
-
3
votes1
answer267
viewsHow to repeat content on multiple static pages?
The point is, I have only static files. HTML and am looking for a simple way to create the blocks just once using only the client side. The idea is to respect DRY, there is some way to do this…
-
3
votes1
answer640
viewsCan "<a>" be used without "href"?
Is there a restriction or problem in using the tag a without the attribute href? Example: <a>teste</a>.
-
3
votes1
answer720
viewsFocus on the first enabled form field
This way I activate the Focus in the first field of the form that is not hidden: $('form:first *:input[type!=hidden]:first').focus(); As active the focus in the first field of the form which is not…
-
3
votes2
answers6364
viewsHow to make an element track the scrollbar?
How do I set my menu to scroll? I made a snippet to exemplify the code. I open the menu, when I scroll the page it is in its position. I want the menu to accompany the scrolling of the page. How can…
-
3
votes2
answers1217
viewsWhich index (php or html) loads when both are present?
I would like to know which index file loads in case you have an index.html and an index.php on the site. Let’s say you’re setting up a PHP site, but you need the server for testing and so on, so I…
-
3
votes2
answers3023
viewsHow to lock certain keys in an input using Javascript?
Guys, I have a javascript function where I allow only numbers, comma (,) and hyphen (-) in an input. The problem is that I can type as many commas (,) and hyphens (-) as I want. I wanted to know how…
-
3
votes1
answer66
viewsCommand to leave scrollbar Fixed
I wonder if you have any css commands to make the scroll of type[number] fixed because it only appears when the mousse is on top. I wanted you to stay the whole time with the two locks.…
-
3
votes1
answer1123
viewsAdd value with Angularjs no ng-repeat
I have the following code: <li ng-repeat="gasto in gastos"> R${{ gasto.valor }} - {{ gasto.descricao }} </li> This prints on the screen the expenses and the description, but I would like…
-
3
votes2
answers1768
viewsDynamically Change Field
Hello, I would like to change the other field next to, in case it would be the name, I would type the name in the input and it would change the letters(type auto fill), and when the user selected…
-
3
votes1
answer1120
viewsValidate input size with Angularjs
I have a field in a form that I need to validate with angular. The field should have up to 11 characters. If you have less than 5 should be displayed an error message requiring the user a correct…
-
3
votes1
answer1261
viewsHow to load a table using ajax from datatables?
I’m trying to load a table using the component datatables. The return of this ajax request is a json object in this format: data = { "CLIENTES": { "0": { "ID": "1", "NOME": 'GABRIEL' }, "1": { "ID":…
-
3
votes2
answers384
viewsIs there a standard for structuring an HTML site?
I am creating a website and have the following structure: <body> <div class="container"> <?php require_once('includes/header.php'); ?> <?php require_once('includes/main.php');…
-
3
votes2
answers278
viewsHow to know key values in Javascript?
I’m developing a basic game in Javascript, and the player has some actions, already implemented the ActionListener, but I’m having trouble finding the key values to use in ActionListener. I was…
-
3
votes2
answers1285
viewsDivide diagonal mosaic in CSS
I need to create a menu with diagonal div that when you pass the mause above for color and each image contains a link to a different category. The problem is that I can’t create a diagonal div, and…
-
3
votes1
answer78
viewsLink click function is not called
I’ve had a similar problem, and that’s because the function is built before the button is created. Now I made little tertinho after I give an append on my page call a function on click. That’s my…
-
3
votes3
answers135
viewsWhen we include a script or CSS file in the HTML document, does an HTTP request occur?
For example: <script src="file.js" > </script> or <link rel="stylesheet" href="style.css" > Doubt: When we do this, it occurs request HTTP? It would be more performative if I…
-
3
votes3
answers12678
viewsHow to create div with javascript
Guys, I have the following situation: <div class="corpo"> <div class="esquerda"></div> <div class="meio"></div> <div class="direita"></div> </div> I…
-
3
votes3
answers973
viewsSubcategories within their respective Category in the menu
Hi, I created a menu that searches the information in the database. I have a table with the categories and another one with the subcategories, up to there beauty, my difficulty is to make each…
-
3
votes1
answer732
viewsHow does the web page rendering process work by the browser?
I know there is a DOM tree, but I don’t know how the rendering works. I know that learning this is important.
-
3
votes1
answer3696
viewsText field formatting for PIS/PASEP
Actually it’s not a question but a help. I’ve been researching PIS/PASEP mask and I couldn’t find so it was the way to implement. I’ll put the answer below. Hugs.
-
3
votes1
answer1404
viewsHow to convert a byte[] from an image to a jpeg image to load into html?
In the html(jsp) of registration I have a field that the user registers his photo with the tag img with the following result. <img…
-
3
votes1
answer389
viewsPost something on my website and post automatically on facebook
Good afternoon, I have a question I’m wondering. I saw in a system something very interesting that is when the person publishes some content on her site, there is a button that you select to publish…
-
3
votes2
answers460
viewstext-overflow with line break
I’m trying to use the text-overflow property to use lattices but also wanted to use line breaks in the first line. I need you to have a line break in the first line and in the second use reticence.…
-
3
votes1
answer1225
viewsWidth of <option> inside <select>
I own a <select> where the texts that are in <option> are very large. By expanding the <select> on the screen the options come out of it. I need a solution for the whole text to…
-
3
votes1
answer3435
viewsHow to make a text editor in a Tinymce style textarea?
I would like to know what exactly I must study in order to transform a textarea in a text editor WYSIWYG.Of course I know I must use Javascript,but I can’t imagine how styles are applied in real…
-
3
votes3
answers3438
viewsSelect with color palettes
As I can make a select with color palettes inside, I need to select certain colors, but not by name but by palettes that will identify each color, see an example Does anyone know how, a tutorial or…
-
3
votes2
answers513
viewsJavascript does not pick up pages added later
I’m in trouble, which begs a big question. I’m developing a website that has a standard structure, which makes GET calls on Jquery to search for new HTML pages for certain parts of the page.…
-
3
votes1
answer765
viewsHow to remove this automatic slide from blog posts?
BLOG: http://1478562145.blogspot.com.br/ I’m wanting to take this slide of the posts, but if I remove some tag from the scripts, related to the slide images, all the photos disappear... I reduced…
-
3
votes1
answer75
viewsObsolete html.fromHtml for Android N+
In Android 7.0 (API level 24) the static method fromHtml() of the public class Html became obsolete I don’t know why, if you know tell me. See an example of how it was used:…
-
3
votes1
answer5335
viewsI need to create header and footer fixed for all pages
I’m a beginner in programming and I’m not able to insert header and footer fixed on all pages of the site. I saw here on the site an option with Renderboy and Rendersection but I confess that I did…
-
3
votes1
answer40
viewsI need another solution to make this code
People I made a code to appear the word at the end with the click, but my code became very extensive. There’s some other way to do the same thing? <!DOCTYPE> <html> <head>…
-
3
votes1
answer3098
viewsPHP/Mysql search with Javascript returning data to HTML
I’m setting up a search page where on the HTML page a search button when clicked calls a Javascript function that passes the typed content to a php page. This PHP page must connect to the database,…
-
3
votes1
answer330
viewsHow to use the output tag?
I copied this example from a website but it doesn’t work. <form oninput="result.value=parseInt(a.value)+parseInt(b.value)"> 0<input type="range" name="b" value="50" />100 +<input…
-
3
votes1
answer104
viewsWhat does that expression mean?
Studying a little the Node-Red I came across the following expression, {{#header.url}. Several expressions of the type are present in the code, for example: {{/header.url}}, {{#header.image}}, etc.…
-
3
votes1
answer7662
viewsHow to break the line by passing the size of the div?
I have this problem rendering text without spacing. How can I fix it?…
-
3
votes2
answers1424
viewsHow to view data from a query in Modal?
I have a button type="button" and I want him to capture information from my Texts for me to make an appointment at Mysql and display this result in a modal. However, I’m only able to capture this…
-
3
votes2
answers149
viewsWhy don’t these Ivs line up?
I have the following code snippet: .content-all{ height: 100%; width: 100%; background-color: yellow; } .content-descriptions{ height:120px; width: 1020px; background-color: green; }…
-
3
votes2
answers1623
viewsPicking rows from a table by a value with Jquery
I have a table, with a select, in each row, and by clicking a button I want to get all the items in the table where the select option be of value. <table id="myTable"> <span…
-
3
votes1
answer81
viewsHow to perform a function optionally if the page is loaded within an iframe?
You can tell if a particular page is being opened inside a iframe? I want that page to run a function when it is loaded through a iframe. Otherwise, I don’t want you to. Is there any way to do that?…
-
3
votes3
answers11315
views