Creating links

Creating links

button
img.creating button links

Let’s take a look at how work to combine webpages into websites. To start making a link, we add text between the <a> and </a> tags. This won’t high line the text yet.

<Doctype html>
 <html>
   <head>
          // webpage title
   </head>
   <body>

          <a> My first link </a>

   </body>
</html>

To link the text to a webpage we need to add the href property in the opening tag <a>, along with a uniform resource locator (URL).

<Doctype html>
 <html>
   <head>
          // webpage title
   </head>
   <body>

          <a href="https://learcode-a-z.com"> My first link </a>

   </body>
</html>

That’s it you know now how to create. or insert a link to a html webpage.

One thought on “Creating links

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
LinkedIn
LinkedIn
Share
Instagram
error: Content is protected !!