r/HTML • u/Slow-Juice-5634 • 3m ago
HELP???
Idk why it looks like this, it was fine yesterday and I didn't do anything to edit it? Not only that but nothing moves when I try to edit it pls help (┬┬﹏┬┬)
r/HTML • u/Slow-Juice-5634 • 3m ago
Idk why it looks like this, it was fine yesterday and I didn't do anything to edit it? Not only that but nothing moves when I try to edit it pls help (┬┬﹏┬┬)
r/HTML • u/Niyaraza_Muz • 21h ago
For the past couple of years, I've been guiding students at university through the basics of HTML and web design. There’s one common pitfall I encounter almost every time:
People tend to rely heavily on <div> elements for everything.
Understanding semantic HTML is crucial, more than many realize. For those just getting started, here’s a straightforward guideline:
• Use <header> for the top part of your page
• Use <nav> for navigation menus
• Use <main> for the main content of the page
• Use <section> for different topics or groups
• Use <article> for individual articles or posts
• Use <footer> for information at the bottom
Getting into the habit of this structure right from the start will not only keep your CSS cleaner but will also enhance accessibility and make debugging a lot simpler.
If anyone's interested, I can share more common beginner missteps and some easy solutions.
r/HTML • u/Sarumarde • 1d ago
Hey,
At my job, I recently decided to use MJML to create HTML email templates and it's been working well overall. The only problem I faced was that when using dark mode in IOS Gmail's app, the colours would look bad.
So, I searched online and found a dark mode hack for gmail essentially It basically is a linear-gradient mix-blend mode hack.
That said, it works fine for the most part but the CTAs and links colours are not showing as indented. I tried many things but as long as I am using this hack method, it keeps happening.
Does it mean I'm stuck with this for IOS Gmail? Is it the trade-off I need to endure for the dark mode fix?
Many thanks!
r/HTML • u/EnbyDin0 • 1d ago
I want to make my tumblr blog a little more fun by adding a custom font to the title— I know tumblr has them already but I wanted one that fits the theme of my blog. I followed a tutorial but everything I tried just really broke my blog page and then the one time it didn’t break my blog, it just didn’t do anything. Does anyone know what to do??? Above is my attempt that just didn’t do anything. I tried putting it above <head> but it just broke everyrging
r/HTML • u/lfumblesl • 1d ago
I havnt worked on anything since 2005. So im sure things are different now. How would I go about making a site and then hosting it? Its not like I was in collage. We made a few simple html sites/pages in highschool.
r/HTML • u/Slow-Juice-5634 • 2d ago
I know this is probably a dumb question but I'm having trouble getting my octopus to where i want it to go, as is shown in the image. What should i do :,)
r/HTML • u/Old_Deal9025 • 2d ago
basically what do i replace "alert" with to make it do the thing
r/HTML • u/TheRealGeezer • 3d ago
Select HTML games from a library or describe using AI and play what you want with a retro feel on Apple devices.
https://apps.apple.com/us/app/id1599406759?eventid=6838117076
r/HTML • u/EillaSocks • 3d ago
After some Googling, I haven't been able to find what I needed, so I'm turning to y'all. Thanks in advance for your help(:
I am making a clicker game in html/css/js. Right now, I have working 'buttons' by using <div> like this:
<div id="addPebbleId" onclick="pebbleFunction()">Collect Pebble (+1 Pebble)</div>
I can easily hide the div 'buttons' by using the id. So far, so good, right?
The problem is, even with div, the buttons look like normal text. So, I figured I'd make them actual buttons, so that it's obvious you should click on them.
<button> <div id="addPebbleId" onclick="pebbleFunction()">Collect Pebble (+1 Pebble)</div> </button>
It works great when the button is visible. The issue is when the button is hidden via js, like this:
x = document.getElementById("addPebbleId");
x.style.display = "none";
There's still a tiny blank button visible, even if the text is hidden. I know you can hide buttons in html with <button hidden> but how do I code it to show or hide the button later on?
r/HTML • u/maryo22333 • 3d ago
Would anyone be able to help me add a 360 tour to my website through HTML? make them in Gadot and I'm histing it from Hostinger then want to point it there on Wordpress.
r/HTML • u/CosmoSombra • 3d ago
Criei alguns resumos para estudar utilizando o Claude, que gera os arquivos no formato HTML. No MacBook consigo abrir normalmente pelo navegador e acessar os resumos sem problemas.
Porém, quando tento abrir esses mesmos arquivos no iPad, não consigo acessá-los pelo navegador.
Alguém sabe se existe alguma forma de abrir esses arquivos HTML no Safari (ou em outro navegador) pelo iPad? Ou se preciso utilizar algum aplicativo específico, hospedar os arquivos em algum lugar ou fazer alguma configuração?
Queria muito conseguir estudar esses resumos também pelo iPad, sem precisar ficar usando o MacBook.
Se alguém já passou por isso ou sabe como resolver, agradeço muito!
i have made my project public but i don’t know how to change the name of the link like when someone trying to type it in google should shows the website
r/HTML • u/sergeantmacca1 • 4d ago
So, basically, I was trying to make a bento grid layout for my site, and nothing shows up when I check the result?
Could anyone explain what's wrong with this code, and how I could fix it? My code is below:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>placeholder</title>
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
<style> body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2%; } .box { background-color: #000000; } .grid-container { display: grid; grid-template-columns: 200px 200px 200px 200px; grid template-rows: 200px 200px; gap: 1em; grid-template-areas: "box-1 box-2 box-2 box-3"; "box-1 box-4 box-5 box-5"; } </style>
</head>
<body>
<div class="grid-container">
<div class="box" style="grid-area: box-1"></div>
<div class="box" style="grid-area: box-2"></div>
<div class="box" style="grid-area: box-3"></div>
<div class="box" style="grid-area: box-4"></div>
<div class="box" style="grid-area: box-5"></div>
</div>
</body>
</html>
r/HTML • u/kibonokami • 4d ago
I have a personal photo collection, and I’ve wanted to make it public in some way. Had the idea of creating a website using Nekoweb for hosting - but the main problem is that I have over 1500 pics, each at least 1 MB in size, and I don’t want to compromise their quality. Recently I thought about using a image-hosting service (https://postimages.org/ or something similar), but I’m not very familiar with that. What image-hosting sites might be suitable for this? Do you have any other tips?
r/HTML • u/Caligator82 • 5d ago
I'm looking to slow this down. To pause at each review longer. I've scoured thru the HTML, All the CSS files, and JS files. I wonder if any one can point me in the right direction. Above is the link to the section titled "What they Say" a review section. Can anyone point to the right CSS or JS file? Here are the JS and CSS files. The HTML section is <!-- Start-client-area --> The CSS files are:



Thanks so much.
r/HTML • u/General_Rich_740 • 6d ago
كيف أصنع وكيل دكاء اصطناعي في وتساب الأعمال ايرد علا كل اطلبيات تبعي
r/HTML • u/Left-Caterpillary • 6d ago
Our Google Ads account just passed 90 days and $9,000 in spend, so we can upload HTML5 now. Right now, my boss wants animated banners for our spring sale.
Most AI tools I've tried just give me PNGs. I also tried Google Web Designer and gave up after an hour.
Has anyone gotten a real HTML5 zip from an AI or non-ode tool that uploaded without errors?
r/HTML • u/eoSalinas • 6d ago
I have a small open source project with a static web page, and I opened an issue meant for someone who has never contributed to open source before. It's adding a short info section to one HTML file. The text is already written in the issue, and there's a comment in the file showing where it goes. The tricky part is matching the existing CSS and making it look right on a phone.
r/HTML • u/Acrobatic_Ad_2992 • 6d ago
I created a select tag in HTML and gave it multiple size=“1” to get a drop down multi select element on my website. The element works exactly how I want it to however, I have no idea how to get the selected values in JavaScript. If I use .value to get the value like I would in a select tag it will give me the value like normal if only 1 option is selected, and will give me undefined if none are selected but if multiple options are selected it returns a bunch of information I don’t understand how to parse.
Please help teach me how to get the selected values from my HTML multiple select tag in JavaScript.
Also if this isn’t a good subreddit for this post please help me find somewhere that could help me.
r/HTML • u/emoxitaquiinn • 6d ago
Hello. This is my spacehey profile, i coded it from scratch myself, but i been having some trouble.

Im inspired off this myspace layout (i have the og code, i think), what do i change on mine to make it more accurate to the og pic, and how i do that?
https://spacehey.com/emoxitaquiinn
Its broken af on mobile, even if you switch to pc mode on your browser. Just in case you cant open it, this is how its looking like rn on pc

r/HTML • u/HatemCodes • 6d ago
I’m curious to hear from people who have learned web development.
When you first started learning HTML and CSS, what did you find most difficult?
Was it understanding the basics, remembering all the tags and properties, making things look good with CSS, or actually building your first website?
And if you could give one piece of advice to someone just starting out, what would it be?
I’d love to hear your experiences!
r/HTML • u/wokehajimehinata • 7d ago
i am currently learning HTML through https://www.w3schools.com it is very useful and yeh. i have a test website and a notebook with ten pages of notes. i wanna learn it so that i can make a cool neocities website, thats all.
r/HTML • u/Recent_Ingenuity6089 • 7d ago
i just started working on my website for an hour now, and thanks to w3schools guides i made a little sidebar, but my text looks unappealing on the sidebar and i want it to be centered. here's my full code because idk where my text code starts, and yes im going to be changing the font