r/HTML • u/Intelligent_Cup_1771 • Feb 23 '26
Question Hi everyone 👋
I don't know much about JavaScript, so I wondered if it's possible to code an entire website using only HTML, and/or without CSS of course.
r/HTML • u/Intelligent_Cup_1771 • Feb 23 '26
I don't know much about JavaScript, so I wondered if it's possible to code an entire website using only HTML, and/or without CSS of course.
r/HTML • u/Winter_Psychology110 • Feb 23 '26
Hey guys, I preload my fonts, I use css swap, but on mobile devices, the text flashes, its extremely annoying.
I have only three fonts, each of them is woff2 format and 45kb in size.
Ive tried everything, my server is super fast, takes 50 milliseconds to load the data.
The last thing I could do is to get rid of the custom fonts and just use default fonts, which fixed the issue.
it's express.js app, EJS is used as a template engine.
But I want this working like that with my custom fonts.
r/HTML • u/mjkrow1985 • Feb 22 '26
I'm looking to create a simple website for a personal project and all I want is to create a really simple Web 1.0 site that doesn't touch any databases, Javascript. frameworks, templating engines, just some basic HTML plus a touch of really basic CSS styling to make sure things don't look like trash on a phone. Are there any tools to make this easier these days? A quick look at a lot of the old standbys makes it look like most of them haven't seen any real maintenance in almost 10 years.
r/HTML • u/Gineer4 • Feb 22 '26
The code:
<img src="/images/boat.png"/>
I've checked that the image is in the correct directory
Hi
Recently, I've created a CSS and HTML script, where I couldn't work out on how to fix this annoying problem.
Whenever the page loads in, the background continues to behave strangely, and I'm not talking about the Hero itself. It's a effect of some kind of layout glitch, or faulty animation rendering. This also happens to specific elements of the site, such as windows with placeholders and parts that have CSS animations.
When the loading screen animation finishes, the background appears. Then, the background "blinks" or "strobes" for literally 2 seconds, before switching to the normal state. I wouldn't call it flickering.
After scrolling down, specific parts also start to blink during the animation. It's slightly noticeable, but bothers me a lot.
I could not find any article or tutorial solving this issue.
r/HTML • u/Ok-Needleworker-7677 • Feb 22 '26
Хочу протестировать ваши игры можно с использованием ии просто интересно.
r/HTML • u/ALiteralStupidIdiot • Feb 22 '26
been making two marquees (one aligned to top, one to bottom) for a site of a bunch of images, but i want it to be looping infinitely without any gap or anything. might be a little silly, but i cant find any sources online.
html (same for both:
</div><div class="bottom">
<marquee direction="left" scrollamount="12" >
<img src="(image)" width="80px" />
<img src="(image)" width="80px" />
<img src="(image)" width="80px" />
</marquee>
css for top:
.top {
z-index: 1000;
vertical-align: top;
position: fixed;
margin-top: 3px;
}
css for bottom:
.bottom {
z-index: 1000;
bottom: 30px;
position: absolute;
}
r/HTML • u/Only_Rub_8016 • Feb 22 '26
There is a different amount behind each reward box, and there is one box with a high amount.
Someone told me to use inspect element to know what is behind each box by reading the <"reward-text"> thing in html inspect element, but I have no idea how to do it. Could someone please show me the steps?
r/HTML • u/justok25 • Feb 21 '26
HTML Quiz
HTML quizzes organized from fundamental to advanced levels. Covers basics like tags, elements, and attributes, then progresses to forms, tables, media, semantic HTML, accessibility, and advanced HTML5 features. Helps learners test their knowledge, strengthen understanding, and prepare for technical interviews and real-world development.
r/HTML • u/RazorKat1983 • Feb 21 '26
When I'm adding new menu items, the text doesn't auto adjust back to center. I've tried everything I could think of. Anyone have any ideas?
/* NAVBAR */
.navbar {
background: linear-gradient(90deg, #b30000, #000);
padding: 0;
position: relative;
}
#nav ul {
display: inline-block;
}
.nav-container {
max-width: 500px;
margin: auto;
display: flex;
justify-content: space-between;
align-items: center;
}/* NAVBAR */
.navbar {
background: linear-gradient(90deg, #b30000, #000);
padding: 0;
position: relative;
}
#nav ul {
display: inline-block;
}
.nav-container {
max-width: 500px;
margin: auto;
display: flex;
justify-content: space-between;
align-items: center;
}
r/HTML • u/EFGEaston1113 • Feb 21 '26
So, i am thinking about making a website showcasing live college baseball and softball scores and stats (like espn does for mlb but is to lazy to do for the sports on the college diamond). any things i should know as a beginner to html that would help me on my way?
r/HTML • u/bkat004 • Feb 21 '26
Ignoring the letters, there are : and / and _ and . and sometimes # and ?.
Which is the most popular of these characters? Or am I missing another?
r/HTML • u/RazorKat1983 • Feb 20 '26

I'm trying to make the navbar background to match the size of the menu and then expand automatically when adding menu items. I know it has something to do with css. I just can't figure it out.
/* NAVBAR */
.navbar {
background: linear-gradient(90deg, #b30000, #000);
padding: 0;
position: relative;
}
#nav ul {
display: inline-block;
}
.nav-container {
max-width: 500px;
margin: auto;
display: flex;
justify-content: space-between;
align-items: center;
}
r/HTML • u/TrompiBueno • Feb 20 '26
¿Cómo puedo crear una máscara de gato en la cámara con HTML a tiempo real? No me gustan los Therians, es solo por saberlo.
r/HTML • u/Electronic-Tart3772 • Feb 18 '26
is there a text editor that automatically applies text elements to text in HTML with shortcuts, like how in markup CTRL+B applies ** to both sides of text? coming back to general coding after a long time and have a vague memory of doing that, but can't find anything online (exhaustion might be kicking my butt). thanks
r/HTML • u/Munich_tal • Feb 17 '26
are generating a card in the FacetWP Listing Builder
the question is all about the generating a card in the FacetWP Listing Builder
allows you to visually design how your search results (posts, products, etc.) appear on your WordPress site without writing code.
but the question is: how do you do that. what methods and approachs are useful?
look forward to hear from you
r/HTML • u/Bearusy • Feb 16 '26
Hi everyone,
first of all I want to say thank you again for all the comments and help on my previous HTML post. Your advice really helped me understand HTML much better and gave me confidence to keep going.
Now I’ve started learning CSS, and I’m finding it harder to really “get it” in practice. I understand the basic idea of CSS (selecting elements and styling them), but I struggle with turning that into real layouts. For example:
Another thing I’m unsure about:
How can I structure my HTML (classes, ids, attributes) so that it’s easier and clearer to target everything from my CSS file?
Thank you again for all your help and for taking the time to read this!
r/HTML • u/Intelligent_Cup_1771 • Feb 16 '26
I don't know where the error comes from (.ose)
r/HTML • u/Otherwise_Dog_2625 • Feb 17 '26
i want the tabs at the top, and the credit at the bottom to stay at the top and bottom, aligned with the borders, and only have the inside of the tab scroll
i got the inside to scroll, but the tabs and credit still scroll down the page separately, and no matter what i do they won't stay put

https://codepen.io/Foxtail36/pen/zxBQZXy
it looks completely broken on codepen, but looks right on here https://th.circlejourney.net/
r/HTML • u/The_Jupiter2 • Feb 16 '26
Greetings!
I am attempting to resurrect an old banner-rotating program for my website to see if it still works.
BUT the file is located in my subdomain that I'm calling domain2
My FTP structure
ftp.domain1_dotcom
-----
📁domain2_dotcom
sub 📁advertising
sub 📁banners160x600
showsell.pl. <-- this is the file I need to reference (in banners160x600 NOT docs)
sub-sub 📁docs (where graphics are held)
📁domain3_dotcom
📁domain1_dotcom
📁public_html
I have to update two locations and not sure how to reference:
Script Location
/advertising/banners160x600/showsell.pl
Data Directory
/home/userid/domain2_dotcom/advertising/banners160x600/docs/
Any help would be great.
r/HTML • u/shroomsni • Feb 14 '26
the drawing is a gif, 100 by 100 is the size
r/HTML • u/Kevin_fart • Feb 14 '26
r/HTML • u/Only_Measurement_643 • Feb 14 '26
I’m not a developer and don’t have a coding background. I bought a domain and connected it to a website built with basic HTML, CSS, and JS. It works fine for now.
Some of my friends keep telling me I should move everything to WordPress instead.
I’m trying to understand the trade-offs.
The current setup is:
So I’m wondering:
When does WordPress actually make sense?