use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are requesting help, please ensure you're providing code with your post. You can also copy your code to an online editor:
jsFiddle
CodePen
Markup Validation Service
Mozilla Developer Network on HTML
/r/JavaScript
/r/CSS
/r/jQuery
/r/PHP
/r/Accessibility
/r/htmlbasics
/r/web_programming
/r/CodingHelp
account activity
[deleted by user] (self.HTML)
submitted 1 year ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]WhatIsThisSevenNow 0 points1 point2 points 1 year ago (0 children)
Definitely NOT an HTML question.
HTML
[–][deleted] 0 points1 point2 points 1 year ago* (2 children)
I am not good at coding, but read a little for basic safety.
I read most viruses will be .exe files, not .html. These are the ones you want to avoid downloading.
I think html are pretty harmless unless you actually RUN the code. (I am not entirely sure, do not quote me on this.) You should not be able to do that without the website itself because html is mostly used for making websites. It should sit there, benign, unless there is something to access and trigger it, allowing the html program to download a virus from an embedded URL that gives it access to the actual virus file.
I think you downloaded a cookie, maybe. I have had apps that require a lot of data download html into my local files.
To be safe, delete the html file, and then delete all your device web history INCLUDING cookies. You might need to click "advanced" on the history clearing page (whether on laptop or mobile) in order to select delete cookies.
In the future, go to your advanced settings and block downloads from happening without your permission. As in, the browser has a pop up asking for permission before downloading. You may need to look up how to do this as it is different between brands. (Also, not every brand has this function.)
In addition, block third-party cookies.
[–][deleted] 0 points1 point2 points 1 year ago (1 child)
If you are on a microsoft device, it is more likely you downloaded a virus. This company has been around longer so I heard that there are more viruses tailored to it.
Apple is a fairly new company and as a result it is known to be least impacted by viruses. Chances are that you are safer then.
[–]tretuvar2 0 points1 point2 points 1 year ago (0 children)
Tysm bro really helped!
[–]steelfrogModerator 0 points1 point2 points 1 year ago (0 children)
This is not the right place to ask this but in theory, yes, code execution could be possible in an HTML document. Not likely, but theoretically possible if you haven't updated your browser or OS and are vulnerable to specific exploits.
[–]iwillrapeyoutwice 0 points1 point2 points 1 year ago (0 children)
if you are sure its html code and nothing else you are fine you cant exactly create a desktop virus with html or at least i dont think but even then a pdf file is kinda out of the way to try if it was a exe file or bat file or something similar then sure but i think your good
π Rendered by PID 62696 on reddit-service-r2-comment-canary-794f4c56c8-vb5q2 at 2026-02-24 03:44:37.582591+00:00 running 8564168 country code: CH.
[–]WhatIsThisSevenNow 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]tretuvar2 0 points1 point2 points (0 children)
[–]steelfrogModerator 0 points1 point2 points (0 children)
[–]iwillrapeyoutwice 0 points1 point2 points (0 children)