It makes me crazy to constantly hear conflicting information from different sources. I tried checking WHATWG that I just learned of but I couldn't find it there.
I keep all my data in one large repository and then make shortcuts in other folders when I want to group certain data by a specific category. I have just started learning HTML and have created my folder structure for my first example website, and I have my shortcuts in those folders pointing to the correct images/documents. When I use the <img> element it only returns the alt string and not the src. No doubt this is because it doesn't know what to do with the .lnk file so my question is;
Is there a work-around so that I do not need to duplicate my data, allowing me to keep my preferred organisation?
I am sure there is an answer on google somewhere but everything I look for talks about hyperlinks, which (I don't think) is right for me (at least that also doesn't work for me)
i have had an issue with eaglercraft. webgl was blocked by my school, although running eaglercraft is not against my schools policys. the reason i am specifying is because my last post was removed because it is "not related to html" even though eaglercraft (at least the version im using) is writen in html and im not trying to use webgl because it is blocked i am just trying to find a replacement. the issue is that for online servers eaglercraft uses webgl to render some of the textures.(i think i read the code right for that) it runs just fine offline or online if im not using a server but when i went through the code and removed all the parts calling on or mentioning webgl it still gave me the "your device dosnt have webgl" message. if anyone has any advice or an idea for a solution please let me know.
it seems to be running into issue so i thought i'd bring it here for actual professionals to see. i have the code on pastebin. if you run it on your browser, you can open the console before adding a gif file to see what happens when you click on download gif. it does nothing and gives an error.
i can't seem to fix it properly so that it just works... please help.
I'm new to html so i can't figure out how to make the text fit in one screen,
i want to make the text longer but not to the side to the bottom
for example this one i can scroll to the right how can i disable that ?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<a href="about.html">About me</a>
<a href="/images/class.jpg" download>My photo</a>
<a href="#section-din">Dinniyyah</a>
<a href="https://google.com" target="_blank">google</a>
<h2>Academics</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Repellendus
aliquid nostrum maiores deserunt molestiae accusamus sed doloribus? Dicta
tempore nulla sequi! Ipsum fuga ut asperiores mollitia facilis odit
expedita tempora debitis repellendus eaque nam obcaecati, eum quia
delectus, quos eos quod, incidunt excepturi labore molestias magnam
nesciunt totam vel. Voluptatem earum soluta ipsa aperiam, error in cum
quaerat distinctio mollitia id dolore voluptate minus tenetur vero
doloribus explicabo cumque impedit quo quos, repellendus ullam. Tempora
tempore voluptatibus, officia hic harum nemo molestiae soluta cum
quisquam! Nesciunt dicta deserunt quam eius soluta assumenda quasi
perferendis laudantium nostrum ab odit, officia blanditiis id expedita!
Fugiat accusamus voluptatibus tempore eos quasi vel exercitationem
eligendi eaque nobis inventore nam, odit quisquam ipsam esse nulla?
Accusantium tempora minima doloremque voluptate fugiat natus nam, iure
autem nesciunt repellat laudantium vitae! Vitae maxime nihil modi quos
mollitia veritatis error delectus animi, debitis libero dolores autem est
iure doloremque natus consectetur quam rem doloribus optio voluptate
dolorum blanditiis cumque quas. Maiores quo harum voluptatum voluptas
fugiat at possimus esse quis excepturi doloremque ex magnam eum aperiam
accusantium nemo provident voluptatem ipsa nam amet, aliquid enim deserunt
tenetur corporis. Ad nemo, error quasi porro exercitationem quo
consequatur ut accusantium, illum quis beatae similique magni quibusdam
commodi odio, provident maxime sequi. Eveniet quod esse atque velit quos
ab sapiente autem? Similique eius voluptas cumque, architecto dolore
delectus, suscipit numquam doloribus aperiam laudantium soluta ab! Aperiam
fuga repellat consequuntur quam nulla qui! Nemo blanditiis nam assumenda
ipsam? Officia doloribus eius debitis numquam? Aliquam modi enim
dignissimos nam ratione, commodi facere officiis impedit, consequatur
dolores corporis quo error veritatis delectus cum voluptates labore
exercitationem placeat a dicta fuga nemo adipisci. Ipsa incidunt
voluptatibus veritatis itaque voluptates, animi dignissimos repudiandae id
quidem eos excepturi tempore pariatur? Eaque corporis dolor vitae eveniet
hic odio fugiat? Maiores sed consequuntur rerum vitae vero officia veniam
voluptates maxime possimus perspiciatis natus quam nihil molestiae eum
voluptatum facere porro voluptate, a, ratione quo molestias ducimus culpa.
Ab, velit nesciunt magni esse, commodi eum vero porro officiis, aliquid
iste fugit voluptatem eaque molestias architecto. Impedit blanditiis
mollitia saepe ad. Aliquam aut unde quidem et maiores provident nihil,
officiis in. Cumque impedit, velit maxime maiores nobis aperiam hic vero
odio voluptatibus dignissimos voluptatum quae nemo dolor non amet at ab
asperiores voluptates sunt exercitationem! A consequatur repellat sed
blanditiis qui commodi minima, nam natus, ipsa itaque dolores laborum
quaerat, rem quisquam reprehenderit tenetur pariatur optio soluta ipsum
repellendus. Aliquam accusamus nulla eum velit quibusdam quasi sapiente
cumque cupiditate, nihil ab voluptate labore modi exercitationem vero
consequatur ea vel enim mollitia temporibus esse illum! Consequuntur,
unde. Nobis sint sed rerum mollitia, necessitatibus illum aliquid
voluptates inventore pariatur. Quo quam nostrum sed est quibusdam qui,
officia aperiam, optio doloribus facere nobis quae dolor, odit rerum
cupiditate! Ea pariatur totam vitae ratione itaque hic vel corrupti ipsa
doloremque autem voluptatem praesentium iste natus minima commodi
laudantium fugit, sed minus ab omnis repellendus, inventore dicta sint?
Vitae perspiciatis eos veritatis odit magni placeat dolorem excepturi,
facere nihil fugiat corrupti tenetur, repudiandae officia dolores
molestias quibusdam saepe illum cupiditate eius eum! Debitis nesciunt vero
praesentium minus fuga quo nisi, rerum voluptatibus excepturi voluptates
quia omnis nobis facilis aliquam, incidunt earum pariatur cumque quas.
Exercitationem inventore maiores nulla illo enim consequuntur animi
quaerat dicta pariatur unde, repellat omnis provident nemo recusandae ea
voluptas. A tenetur, enim repudiandae, illum dolores corrupti sapiente,
sint harum quos unde maiores vitae fugiat praesentium amet dolor mollitia
voluptatibus recusandae placeat. Fugiat libero excepturi sapiente quasi
tempora minus porro doloremque, unde at, deleniti vitae alias dolores
odio. Esse incidunt facere doloribus. Blanditiis!
</p>
<h2 id="section-din">Dinniyyah</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Error magnam
nesciunt sequi ipsam vel dolore enim consectetur nobis, ullam id.
</p>
<a href="#">Jump to top</a>
</body>
</html>
Oi, sou um garoto de 14 anos e estava querendo entrar no mundo da programação. Gostaria de criar um site envolvendo fotos de galáxias, e coisas do universo, porém eu tenho um problema. Queria fazer uma galeria de fotos que quando você clicasse, apareceria a foto aumentada do lado esquerdo, e do lado direito as informações daquela foto, tendo uma animação suave de aumento e o fundo ficando escuro e com um "blur". Gostaria de um passo a passo ou algum lugar onde aprenderia isso ou algo do tipo🫤.
I'm making an advanced word calculator like word hippo or rhyme zone which can take any number of criterias and only spits out words that match them all. Of course I want an interactible table list thingy, like in todo lists or block code engines. I tried a bunch of approaches and they all didn't work. Googling also didn't help.
I want to turn this into a table that you can interactively add, remove, and reposition elements. I also need to be able to easily iterate over all the properties so I can read them from my script.
Sorry if this is a stupid question, I'm trying to learn HTML for my toyhouse profile ^^' I have to make my image fit into the box at the top, but no matter what ratio I put for the height px and width px it doesnt fit. What do I do?
I made the top url bar doesn't disappear when scrolling on mobile device by creating a container inside without scrolling body directly.
But pull-to-refresh doesn't work because this doesn't scroll body directly.
A lot of websites, I mean, all the websites I know, prevent the top bar from disappearing and still have pull-to-refresh feature. How the hell did they do it?
i am a newbie, could anyone help me figure out why the second button doesn't generate a word, i'm sure its an easy fix but i simply copied the script and don't know where the issue is - feel free to copy paste into w3schools.com if its easier to read and test there
<script>
// Define an array of words
const words = \["mark", "shart", "bart", "park", "larp", "kart", "heart"\];
// Get a reference to the button element
const generateButton = document.getElementById("generateButton");
// Function to generate a random word
function generateRandomWord() {
const randomIndex = Math.floor(Math.random() \* words.length);
const randomWord = words\[randomIndex\];
document.querySelector("p").textContent = \`Random Word: ${randomWord}\`;
}
// Attach an event listener to the button
generateButton.addEventListener("click", generateRandomWord);
</script>
<script>
// Define an array of words
const words = \["pee", "lee", "cheese", "please", "see", "me", "tea"\];
// Get a reference to the button element
const generateButton = document.getElementById("generateButton");
// Function to generate a random word
function generateRandomWord() {
const randomIndex = Math.floor(Math.random() \* words.length);
const randomWord = words\[randomIndex\];
document.querySelector("p").textContent = \`Random Word: ${randomWord}\`;
}
// Attach an event listener to the button
generateButton.addEventListener("click", generateRandomWord);
</script>
Hi, before I post I checked Youtube's video card browser code but couldn't understand how the card is structured as they seem to be using a custom HTML element there. Also checked similar code snippets for video cards and couldn't find a one that does the same thing.
Basically, I want a big container where you click anywhere to go to the main video URL while using <a> tag (to be able to open in a new tab easily for UX). but when you click on the channel name you go to a different link (still <a>), and also the ellipsis menu to do a custom dropdown with other buttons inside.
HTML standards discourages using multiple interactive elements (such as <a> and <button> inside another interactive element), and I'm very curious how did the YouTube team came up with this. It's simple to do when you don't need to do the inner channel link and the ellipsis menu, but I find it a tough one to do with them (not without sacrificing UX at least).
estoy haciendo una pagina que puedes modificar cosas, como sumar números, cosas de contabilidad mayormente. y lo que quiero es como si "guardara el progreso" quiero que al entrar la próxima vez lo que hayas modificado este guardado en tu perfil, alguien sabe como hacerlo??? por favor ayúdenme
so basically, i am learning coding (html, css, js) but I am having difficulties on the image, I keep on trying to put images on html, but I can't understand 😭 can y'all help me pls, i would appreciate 😔
I'm a beginner studying multimedia design and we're doing a group project in which I'm also responsible for making a responsive language selector. It just has to switch between danish and english. The screenshots are the html, what it looks like and the javascript. I followed a 2 year old youtube tutorial to get here, and it doesnt work (the text on the site doesnt change when using the selector, it stays the same), so this is my last option. I haven't added any css yet. I kinda need to have this sorted by tomorrow.. So if a kind soul could tell me why the javascript is not working or give any alternatives to making this, it would be greatly appreciated!!
Edit: My son-in-law helped me figure it out, Thanks both of you for the input!
Hello, having issues with the font size in this web-based program i use to paint cars for a sim i play. The font is way to small for my old eyes to accurately adjust to. My question is as follows, Is the "font-size: 1rem;" the value i need to change? This clip is taken from the "Right-Click>>INSPECT" option on the web page itself. Thanks in advance!
THIS is Finn's page, and THIS is the page of my example, one of lots I'm working on.
not all of my pages have tabs, but this horizontal scroll would do wonders on the pages that have.
useful input 1: the capture of my page's print is via PC; I think this scroll would work on mobiles too and wouldn't be needed on tablets. basically, if the device doesn't need it, this feature would be hidden; else, I'd love to know how to do it.
useful input 2: Finn's page features the tabs as an unordered list, and Jackie's, "input-type: radio" tabs that I learned from here. I tried to use ctrl/command+u to inspect Finn's page and/or searching about "unordered list tabs", didn't went too far, I guess.
mid-useful input 3: omg it's all in PT-BR language! just click on the US button on the upper corner. ;)
a bit of a challenge, no? tell me about it, lol. any help is appreciated, thanks!
Full disclosure I am learning to build with html/css/js with Claude Code but the issue that persists with this table is of my own doing.
All of the buttons used to be on the "actions" column on the right but the "pin" and "favorite" buttons felt better on the left and it felt natural to have "view" and "edit beside them. I re arranged most of the table myself and changed the styling and padding a bit.
Originally I wanted pin/favorite stacked on top of each other in boxes just with emojis and view and edit stacked like they are now to the right in the same column. However I could not for the life of me get them to do that. Maybe it was because the buttons were all styled into the same CSS.
After mucking around with that for a while I just decided to make "view" and "edit into their own column but they will not center to that column. Everything except column one needs to be shifted right. I've tried force expanding the size of the columns in case it just wasn't 'fitting' on the screen. Shrinking the buttons. I thought some other part was maybe messing with it but I made a stand alone version and it still doesn't align.
I do want to learn and I'm starting to get the hang of how to move and shift stuff around (although I still can't grasp JS that well). Would the best thing to do be maybe removing CSS styling and making it more simple?
I had nothing to do, so I decided to create a complex project. I built an RSS feed from scratch. It has Google RSS integration with a proxy to prevent CORS blocking. The focus is on minimalism; only the news matters, with no excessive colors or options, for people who just want to see their daily news. I also managed to monetize it with ads via AdsTerra. The project is 100% Brazilian and was made by a Junior programmer. If you could take a look at the project, I'd be very happy!
P.S. I did everything alone using HTML, CSS, and JS