Ask coding questions

← Back to all posts
how do I add a link on html,css,and js
Long_StoryStory

I don't know how to add a link.

Voters
BriannaCombs1
CharbelB2
KennethKong23
ElsaElshani
Katie27
DIVITJAIN
chorn120
yoshistargamer
Mohamed_Abdull1
TanishGupta2
Comments
hotnewtop
amasad

<a href="pageName.html>link text</a> where pageName.html is an html file you created.

JacksonStich

how

GARFIELD1

You can make the link an image too. e.g. <a href = "page_name.html><img src ="image_name.(image type goes here)></a>

StephenPenner

really!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?I come here for help and I see people just as confused about this as I am

semirsucu
syahmihakim2

Thank you for sharing

AdrianGeorgeM
<link href="index.css" rel="stylesheet" type="text/css" /> in the <head>
AdrianGeorgeM
<script src="script.js"></script>

on the bottom of <body>

ManuelAguirre12

neither do I Sadly