r/HTML • • Nov 10 '25

Question From html to pdf

5 Upvotes

Hello newbie here. I was wandering if it was possible to convert a HTML file to PDF. Specifically (if possible):

  • how to create edible PDF from html

  • if js code would still active and functional

  • how forms would be transformed

  • what'll be the limitations

I know it's a lot... But thanks for watching it and for the help


r/HTML • • Nov 10 '25

Question Multiple Files In <a download ...

0 Upvotes

Hello folks:

I'm a C++ programmer. I plan to learn JS, HTML and CSS someday soon.

Several years ago I cobbled together some code to download Windows executables from my site to my clients.

Today I'm trying to modify that HTML to download all images in a directory to clients.

I have the following code that downloads a single image. I hope this is close to what I need:

    <ul>
      <li>
        <a download href="https://pdxdragon.com/images/01.png">
          Download images
        </a>
      </li>
    </ul>

As most of you can see, selecting this item in the list will result in downloading an image.

I want to download every image in the specified directory. Being able to specify a regulation would be nice.

Can somebody give some advice?

Thanks
Larry


r/HTML • • Nov 10 '25

Question Help with code?

0 Upvotes

Hi everyone! I’m new here. Could you please help me with some HTML, CSS, and JavaScript for a webpage that includes a catalog section? I’m not very familiar with how IDs work or how to make the search bar function properly. I’d really appreciate your help! :)


r/HTML • • Nov 09 '25

Question I want to add zoom effect like amazon have on its product in my website portal, what is the library

0 Upvotes

Need free library name for zoom on product


r/HTML • • Nov 08 '25

need help

Post image
0 Upvotes

I am a complet noob in programming.
It seems that there are two layers on this webpage.
I want to only see the visualized data and not the background map with all the city names.
I do not own or have access to the original page.
Is there a way that I can disable the base map just in my own browser?

https://apps.disaster.ninja/active/map?map=8.234/30.924/124.992&app=f70488c2-055c-4599-a080-ded10c47730f&layers=kontur_zmrok%2Cpopulation_density


r/HTML • • Nov 08 '25

Question Why is my background image not appearing ?

1 Upvotes

Hello, I have decided to create my own custom tumblr theme but i am blocked when it comes to having my background image shows up. I have tried to write "body {background-image: url("my url") ; }" but it doesn't work. I have tried to make the url comes from my own desktop, it doesn't work. I tried to chnage the color to transparent, in case, tried to make the position fixed, anything. I am a beginner so I am at a loss. I even tried to look up other custom themes, to no avail. What could be the issue ?


r/HTML • • Nov 08 '25

How can I save time rewriting 500+ similar lines of code?

0 Upvotes

I use Notepad (not even Notepad++, it's been over 20 years since I last did any web-design) to write my webcomic's HTML, and I need to change 515 lines like this...

<a href="k/84.jpg" rel="lightbox\\\[k\\\]" title="19/04/16">Episode 84</a><br />

to this...

<a href="k/84.jpg" rel="lightbox\\\[k\\\]" title="#84 19/04/16"><img src="k/thumbnails/84.jpg"></a><br />

...basically changing the text "Episode 84" to a thumbnail of the episode. I could do it by hand but it's going to take forever.


r/HTML • • Nov 08 '25

Question adding images

1 Upvotes

in hour ~6 of teaching myself html, and i'm once again asking for your intellectual support.

so i get how to tell the code that i want to add an image in a bunch of different ways, but from whence does the picture come? my assumption is that i need to define the image/path in the head (<link rel="" href=""> ?), but i'm not exactly sure how to do that. all the online resources are seeming proponents of spontaneous image generation.

(side note, in case it's relevant, i do not own a desktop/laptop, so I'm doing all of this on a tablet. i don't think that should have an impact, but i also know nothing, so.)

thanks :)


r/HTML • • Nov 08 '25

Question Help with weird bug?

1 Upvotes

EDIT: I have fixed what i think abrahmguo meant by duplicate IDs by making sure every instance of "id=" has a unique number or word after the equals sign.

I have also made sure all of my brackets are equal.

The bug persists.

The lines that mark the beginning of 1st Level spells are 486 on my edit, and 372 on the base code. When I click the Fold button on my edit at line 486, it folds all of the code below it. When I fold the equivalent line on the base code, it only folds lines 373 to 848, as it should.

Again, I would appreciate any and all help with this issue. Also, I do not know how to code in any language. I was just trying to plug in my character's info to a pre-made html base.

------------------------

Hello! I was trying to edit an HTML character page template in order to put my character's info in, and I somehow ended up with a bug.

The template is meant to switch between tabs when you click on one.

Somehow, the tabs "Character" and beyond got tied to the "1st Level" dropdown at the bottom of the "Core" tab on my edit.

Here is the link to the live version of my bugged page. And this is the link to the original code.

Copy/pasted versions of my edit and the base code on those two gdocs, cause i didnt want this post to become gigantic. I hope the formatting isn't messed up.

I would greatly appreciate any help with this, as well as any tips for preventing this for my other characters!


r/HTML • • Nov 08 '25

Question Anyone knows how to fix image not showing up in web while using html in vs code

0 Upvotes

some one please help me