Ask coding questions

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

I don't know how to add a link.

Comments
hotnewtop
amasad (3437)

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

GARFIELD1 (5)

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 (1)

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

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

on the bottom of <body>