Click here to Skip to main content
15,890,973 members
Everything / Web Development / HTML

HTML

HTML

Great Reads

by Colin Eberhardt
This article describes the development of a cross-platform HTML5 application for Windows Phone and iPhone.
by Jovan Popovic(MSFT)
Mapping properties in EF model to database columns that contain JSON
by Marcelo Ricardo de Oliveira
A shoot'n'up HTML5 game made with Phaser game framework
by Chris Maunder
Some tips and tricks to help you format your articles and tips simply and consistently.

Latest Articles

by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
by Member 4206974
FormGen, a JavaScript Form Generator
by Shao Voon Wong
C++ SAX library to simplify XML parsing
by Dan Letecky
Weekly HTML5 event calendar with CSS themes, drag and drop support, date navigator. PHP and ASP.NET Core REST API backends.

All Articles

Sort by Updated

HTML 

U 30 Apr 2024 by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
U 30 Apr 2024 by Member 4206974
FormGen, a JavaScript Form Generator
U 28 Apr 2024 by Shao Voon Wong
C++ SAX library to simplify XML parsing
U 23 Apr 2024 by Jeremy Falcon
Keep in mind, I've never used Webflow. And it's going to be hard to find Webflow experts here as we're mostly programmers with no need for that. As for me, I've dealt with Figma plenty from a programmer's perspective. I can tell you; however,...
N 22 Apr 2024 by Dave Kreskowiak
There is no fix for this because it's a security feature. From the MDN Web Docs page on window.open: Quote: Modern browsers have strict popup blocker policies. Popup windows must be opened in direct response to user input, and a separate user...
N 22 Apr 2024 by Chris Copeland
I believe this is a modern security feature of browsers. Most browsers will not allow windows to be opened without direct input from the user. For example, browsers may require a "click" event, or form "submit" even, or even keyboard press. The...
U 22 Apr 2024 by Aman Zoraiz
Myy problem is that i have an application the app can b read RSS feeds and display them on my page or screen. Also i have used the timer to reload the component of rss feed. I have set some matching keywords like if some keywords match with rss...
U 21 Apr 2024 by mohamed gawdat
I want to create a website to sell products using Figma and Webflow. The problem is that I've heard a lot of people say that these sites have limited capacity, especially if there are a lot of products and videos (a large site). Is this correct?...
27 Mar 2024 by Manoj B. Kalla
hi, 1. Take backup of page aspx and aspx.cs and Fresh start. 2. AutoEventWireup="true" and EventValidation setting 3. Double click on button and paste the code of click. Hope this will help
23 Mar 2024 by Graeme_Grant
1. You should not use var[^] normally, you should be using let[^] or const[^] instead. 2. For selecting elements by id, it is better to use getElementById()[^]. 3. looking at the element style for the width will only return a width if you set...
23 Mar 2024 by Member 16228941
Hi, I was working on a package using the language JavaScript. And I met up with a problem. How can I link assign a varible? Like this: var a = document.querySelector("div#foo").style.width;//$("div#foo") var b=...
21 Mar 2024 by johntk22
make sure that the event listener for the add to cart and show cart is added correctly and the id in the JavaScript code match the id of button in the HTML.
19 Mar 2024 by Dan Letecky
Weekly HTML5 event calendar with CSS themes, drag and drop support, date navigator. PHP and ASP.NET Core REST API backends.
16 Mar 2024 by Tyler Bakeman
In the JS file, there are some issues I noticed line 5: const showCartButton = document.querySelector('.show-cart'); -- The show-cart class does not exist in the html; instead, try: const showCartButton =...
14 Mar 2024 by Ștefan-Mihai MOGA
An alternative Windows version to XML Sitemap online generators
5 Mar 2024 by PJ Arends
An MFC CWnd derived grid of user definable tiles
4 Mar 2024 by Pete O'Hanlon
This is not a question. You started with a statement to "paste coding convert zip file", and then dumped some code, but that doesn't give us any chance of knowing what you want to do here. What is it that you are trying to accomplish here? Do you...
27 Feb 2024 by zjkal
It may be a server-side cache. First of all, you need to know what framework you are using? For example, the cache may be in the runtime folder of your code root directory, or other locations.
23 Feb 2024 by Pete O'Hanlon
Sorry to say but I don't think this is possible through standard means. I mean, you might be able to write an extension that traps the onclick event for the send, and then allows for the behaviour you want but, as this would have to go through...
22 Feb 2024 by greatwiccan
So I'm very new with Chrome Extension and I'd like to build one. I haven't done steps yet such as the manifestation, background, etc. But basically, this is about emails and its recipient. I want a pop-up alert when there are multiple...
20 Feb 2024 by Ștefan-Mihai MOGA
A look at the URLDownloadToFile function and architecture of IntelliLink
14 Feb 2024 by Naresh Lohar
Can anyone tell me why we need to use values of autocomplete other than on/off (like given-name, family-name, new-password,etc.) because i found out that form will be autofilled only when name attribute form exactly matches perviously stored...
13 Feb 2024 by Richard Deeming
HTML attribute: autocomplete - HTML: HyperText Markup Language | MDN[^]: "on" The browser is allowed to automatically complete the input. No guidance is provided as to the type of data expected in the field, so the browser may use its own...
8 Feb 2024 by OriginalGriff
I wouldn't recommend it: LocalStorage is pretty small: 5Mb per app per browser, so you aren't going to get a lot in there. Download to the client and let them store it locally, or stream it from your server. And bypassing school restrictions...
8 Feb 2024 by Richard Deeming
Perhaps you're looking for the File System API? File System API - Web APIs | MDN[^] However, if you're loading a "loose" HTML page from disk, rather than via a web server, this probably won't work. APIs like this tend to be restricted to...
8 Feb 2024 by cn77
basically im making this site thats running LOCALLY on your computer its a music player that you can drag mp3 files in and have them save to your device, and be able to play them with a cool UI. Its for school so thats why I want it, since all...
6 Feb 2024 by virgin anantatur
I use XAMPP to connect to localhost. So when I edit the program code, it doesn't change when I run it. When I searched for a solution on Google it said delete the browser cache, but after I deleted it the results were the same and didn't change....
1 Feb 2024 by Shokri Francis raoof
I'm building a simple store website where I need the euro price converted into bitcoin when the total is shown in the shopping cart. Everything was working until I added the eur-btc API, but now the 'add to cart' and 'show cart' buttons arent...
30 Jan 2024 by abid zindran
Unexpected behavior such as a button click event being called twice in an ASP.NET application, particularly when it's observed only in IIS and not during code debugging, What I have tried: I am using loading bar on any button click with the...
25 Jan 2024 by Zanele Radebe
asp:DropDownList ID="DropDownList1" runat="server"> Class ListSql.EmpoyerClasses= EmployerClassName() ViewBag EmployerClasses=...
25 Jan 2024 by OriginalGriff
Read the instructions - they are very specific: Add five divider elements to the body element. You don't have that: you have a body element containing one DIV tag, and a total of five nested DIV tags: ...
25 Jan 2024 by Ana Carolina 2024
The instructions are: Open the index.html file and set up the following basic HTML document structure: Set the title of the HTML document to your name: ...
12 Jan 2024 by Bryce Morrison
I am making a slider for reviews for my squarespace website, and the code works in the editor, but when i preview the site it turn verticle rather than horozontal. the arrows that im am trying to use to control the slider also is not working....
6 Jan 2024 by Member 11400059
Hi I want check collision between Div and Img tag with java Script. I have Div with id name is MainDiv. in this div there is too many img tag with position absolute and deferent width and height. aslo there is div id name selection. the scenario...
4 Jan 2024 by Richard MacCutchan
Yes, whether it will work or not is a different matter.
4 Jan 2024 by Milan Belobaba 2024
Can i run perl script in IIS Express 10 What I have tried: "PERL">Can i run perl script in IIS Express 10
30 Nov 2023 by Ralf Meier
In this article, I demonstrate how to integrate Shelly® relays into my smart home, controlling the devices through routines in VB.NET.
24 Nov 2023 by Andre Oosthuizen
This is unfortunately the issue if you copy and paste someone elses code without reading the documentation or understanding how an add-in should work. As per the comments, you had no reference to teh 'Zdog' library. Looking at their...
24 Nov 2023 by Nischal Shar
I'm trying to create a clock design and add a 3d drag according to the mouse movement view just like this pen[^] Although the above pen uses a library called Zdog, I also tried to add it in my code but I didn't find my way. I have a front view...
14 Nov 2023 by Andre Oosthuizen
As Chris pointed out, you need to create a CSS file that links to your HTML file to manage all of the display options in your page, I created a page called 'my_styles.css, you can name it whatever you want AS LONG AS you refer to the same name in...
13 Nov 2023 by Chris Copeland
What you could do is programmatically create a element and append the two selects to that, then append this element to the document body. That would center things, but easier might be instead to add an element to the HTML with an id...
13 Nov 2023 by KayleeAmber
At the end of my page, I have a script that lists the different 'celscis' (the big list of names) that the user can choose from. How do I center the script so that it is in the middle, and in line with the orange 'vote' button? I'm still new to...
9 Nov 2023 by Michael Lugalia
i am trying to pass cart products to a checkout but whenever i click on place order i'm redirected to the checkout page yes but the cart items do not appear there and the terminal says: Cart data in session: undefined listCarts: [] here is my add...
7 Nov 2023 by Gerry Schmitz
I didn't see any "session_start()". Quote: Note: The session_start() function must be the very first thing in your document. Before any HTML tags. PHP Sessions[^]
7 Nov 2023 by Richard Deeming
IIRC, the X-Powered-By header is added if ASP.NET is installed on the server; it doesn't tell you that the current page was actually generated by ASP.NET. I don't think there's any realy way you can tell from the outside whether this is a...
7 Nov 2023 by DerekT-P
I'm evaluating a 3rd party website for a client. All the pages end in a .ASP extension (which I'm familiar with from the old days of Classic ASP). The response headers include a "X-Powered-By" value of ASP.Net, and the page content doesn't...
7 Nov 2023 by Сергей Свириденко
This is what index.php looks like, where the user registers: php Registration Login Password Repeat password Registration Already registered? ...
2 Nov 2023 by Mike-MadBadger
This is an alternative for "Pick Your Enumerator & Me.Understand Yield and IEnumerable (C#)"
25 Oct 2023 by Member 16116918
I have an HTML table that gets its data dynamically from db table using PHP. The idea is when user clicks Accept or Reject button, the label (pending) changes, but it's only the first row label change even if I clicked the button of the third...
25 Oct 2023 by Rami Alshaar
Full guide to create a website
24 Oct 2023 by Ranjeetha Ravindran Virdi
function getBathroomsValue() { var uiBathrooms = document.getElementsByName("uiBathrooms"); for(var i in uiBathrooms) { if(uiBathrooms[i].checked) { return parseInt(i)+1; } } return -1; // Invalid Value } ...
24 Oct 2023 by nikita Alluvada
Main menu: user enters user id and password. Entered user id and password has to be verified from the table user_pass. If the entered user is right, then account creation screen is displayed, else the message invalid user id / password is...
23 Oct 2023 by Cloud Native Apps Team
In this four-part series, you’ll learn how to create an Intelligent App with Azure. This second tutorial demonstrates how to add intelligent features to this user feedback analysis application. Then, it explores how to use your new Intelligent App to analyze user feedback.
21 Oct 2023 by OriginalGriff
If this was a genuine question, the answer would be simple: "Don't even think about it". The security you need - both legally and to protect your bank from theft is significant, the legal requirements on banks as regards accountability and...
21 Oct 2023 by Dave Kreskowiak
No, nobody is going to do your work for you, nor should they. You wouldn't learn anything at all if they did. Start by reading through the assignment again and figuring out what you have to do for each problem statement. For example, the first...
21 Oct 2023 by M Imran Ansari
It seems to be an assignment. Developing a complete online banking system is indeed a complex and comprehensive task that requires careful planning, robust security measures, and thorough testing. Creating an online banking system involves...
16 Oct 2023 by Richard Deeming
IDs in an HTML document need to be unique. You are generating an HTML document with duplicate IDs - for example, every row has a button with id="pending". When you ask the document for the element with the ID "pending", it will only return a...
14 Oct 2023 by Andre Oosthuizen
Easiest would be to use float for your chat box, when a user have to scroll left to right the chat box still "floats above the current screen to access it easily - Floating Chatbox[^]
14 Oct 2023 by Andre Oosthuizen
'Quote: select2 did not work This means as much as it says, did not work how, what error. 'Quote: the second row cannot click to display the data Stating this does not help either, ad your code does not make sense on what you want to do. ...
12 Oct 2023 by Nischal Shar
I'm working on a chat box UI, and I'm having trouble making it responsive for smaller screens. I want the chat section to be responsive, meaning that it should automatically adjust its layout to fit the screen size. The main goal is to ensure...
10 Oct 2023 by pratik_panchal
Hi You can also use this way j("#startTime").datepicker({ beforeShowDay: $.datepicker.noWeekends }); j("#endTime").datepicker({ beforeShowDay: $.datepicker.noWeekends });
4 Oct 2023 by Chris Copeland
As Dave said, the print() method[^] prints the current webpage. If you're looking to output text to the developer console then consider using the console.log() method[^]
4 Oct 2023 by Guilherme Coutinho Berg
When I try to put a simple script of "print("any")", the web opens the printer, I don't know why. What I have tried: I updated the drivers, etc. my Windows is the free version.
4 Oct 2023 by Dave Kreskowiak
The print function in javascript prints the current web page, but you have to go through the Print Preview dialog first. It does NOT print whatever you supply as an argument, so there is no way to print any arbitrary text. This is for security...
2 Oct 2023 by Member 16105269
I have an admin login page that logs in to the admin dashboard and I need it to display the administrator logged in. This is the code: var adminName = '" . $username . "';"; header("Location: admin.php"); exit(); } else { ...
2 Oct 2023 by HernanTech inc
I am trying to create a website that will allow visitors to sign up and login later using their username/email and password will create a user and store in an SQL table called users. So when they later choose to sign in, it will connect to a...
2 Oct 2023 by raddevus
So you echo out a script tag to hold the value in a JavaScript var: echo "var adminName = '" . $username . "';"; So, when the page renders, if that works, you have the following JavaScript: var adminName =...
26 Sep 2023 by Sergey Alexandrovich Kryukov
The usual problem with publications is broken links. I suggest using a simple script to detect and fix problems.
23 Sep 2023 by Graeme_Grant
This YT video does something similar and should point you in the right direction using Flexbox - Learn web development | MDN[^] : Build a responsive, animated, accessible accordion that looks pretty good - YouTube[^]
23 Sep 2023 by Sushant Neupane
I am learning on getting into the web dev career and so far have been building a portfolio website simultaneously with something new learned everyday. I am building the portfolio with 5 main DIVs laid out as a kind of an offset Grid and used JS...
19 Sep 2023 by ZAID razvi
How to make a Scrabble game with HTML, CSS and JavaScript. I tried a lot, but failed. What I have tried: I tried to make that mesh with CSS Grid, but it doesn't have borders property. And doing that with tables wouldn't be an optimized way.
16 Sep 2023 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
13 Sep 2023 by Arpit 2023
I have added a fb like button when I click the like button login Iframe open and I want a popup window for login when I hit the like button, I don't want Iframe. Is there any solution for this? What I have tried: I have used fb like plugin from...
13 Sep 2023 by Member 16091704
I do not understand which folders and files to upload to the hosting in what form (in the picture of the folder with my site). I was making a Python website with two applications and now I don't understand which files need to be downloaded. What...
13 Sep 2023 by vlad10
I have installed hCaptcha into my contact form and it works fine (email is sent only after captcha is checked/validated, but how do I stop the page from refreshing on Submit if captcha is not checked/validated because all fields value disappear...
13 Sep 2023 by Member 15418280
We provided some simple JavaScript template code. Your goal is to modify the application so that you can properly toggle the button to switch between an ON state and an OFF state. When the button is on and it is clicked, it turns off and the text...
13 Sep 2023 by Frank-Cziryek
As I refresh browser, I lose the expected appearance. I guess it is because of the use of resize function. I need help with the refresh for everything to stay as it is supposed to be and happens with Windows resize. What I have tried: I tried...
11 Sep 2023 by Firegloom
I'm parsing the HTML from a "most recent changes" page on a Fandom wiki with this code using BeautifulSoup: from bs4 import BeautifulSoup with open("Recent changes Vintergatan Wiki Fandom.htm") as html: doc = BeautifulSoup(html,...
9 Sep 2023 by chlohee
GoogPress is a fun little web thing that turns Google Docs into websites. Here’s how a two-man team built it in a week.
7 Sep 2023 by HeroVax
I want to make the delete button, once clicked, it will popup a modal (sweetalert). I have a few records that I wanted to test deleting it. But whenever I clicked on "Delete", it will always redirect to the delete.php page without opening the...
7 Sep 2023 by Member 16087262
I have a treeview with several internal branches that work well on large computer screens, but the problem I am facing is that when I display it on mobile phone screens, it appears very poorly and completely uncoordinated. The letters also appear...
5 Sep 2023 by Chris Copeland
This is probably because you're using the id attribute on the button and the jQuery selector, instead of using a class. When you declare a HTML element with an id attribute, the browser expects there to only be one of that id. Try giving the...
5 Sep 2023 by Richard MacCutchan
The variable $row only exists within the scope of the if statement at line 7. Change the code so it is declared at global scope: $emp_id = isset($_GET['emp_id']) ? $_GET['emp_id'] : null; $row = null; // make $row globally visible if ($emp_id...
4 Sep 2023 by Sergey Alexandrovich Kryukov
Another variant of the cross-platform replacement for all those office presentation applications in a single file, and now this file is JavaScript
4 Sep 2023 by Sergey Alexandrovich Kryukov
A cross-platform replacement for all those office presentation applications in a single file
2 Sep 2023 by Andre Oosthuizen
You were almost there - import $ from "jquery"; $(document).ready(function(){ $("#root").click(function(){ //Get the current text content of the toggle button... const buttonText = rootApp.innerHTML; //Check if the button is in...
1 Sep 2023 by Graeme_Grant
Very little to work with here... Try putting the video on a blank page with no css/styles applied. If still with the color cast, then you know where to look - how is the thumbnail image generated?
30 Aug 2023 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
30 Aug 2023 by Richard MacCutchan
Quote: I need the backend code to solve this problem. Sorry, but you have come to the wrong place. This site does not provide code to order. If you do not have the skills to write it yourself then you will need to pay someone to do it for you.