Jump to content

So I started learning textedit on my mac and made a prototype website(No CSS). I was wondering why my h3 heading and some p elements were registering as a link? (I have't made the links yet, but I plan to) Thanks! 

 

website: file:///Users/savirdaswani/Desktop/website.html#

 

code: <!DOCTYPE html>

<html>
  <body>
  <div class="nav" >
  <div class= "container" </div>
  
  
  <h1>Learn to program websites, video games, and make graphic designs! </h1>
  <p> Sigh up for free </p>
<ul>
 <li>Courses</li>
 <li>Browse subjects</li>
</ul>
<ul>
<li>Sign up 
<li>Log in
<li>Help
</ul>
 
<div class= "learn-more" >
<div class="container" >
<div>
  <h3> Websites </h3>
  <p> "Learn how to make and design websites form scratch."  
   <a href="#" > "Take a web design course." 
  </p>
  
  </div>
  
  <div>
  <h3>Video Games</h3>
  <p>"Make your own video games using adobe photoshop and CSS." </p>
 <a href="#" > "Learn more about programming languages and adobe photoshop."
 
 </div>
 
  <div>
 <h3> Graphic Design  </h3> 
 <p> "Create custom graphic designs and learn how to market using code." <p><a href="#" > "Learn about marketing and graphing design."
 </div>
  
  <div class= "learn-more" </div>
  <div class= "container" </div>
 
  </body>
</html>

 

 

Link to comment
https://linustechtips.com/topic/531219-help-with-html-website/
Share on other sites

Link to post
Share on other sites

close the <a> tag ;)

Current Build: CPU - AMD 5800K 4.2GHz w/ Stock Cooler :( | Motherboard - ASRock FM82A88 Extreme 4 Plus | Memory - Crucial 8GB Single Stick 1600MHz | GPU - AMD Radeon R7 260X 2GB | Storage - Seagate Barracuda 1TB 7200RPM

Project: Just let me play Black Ops... PLEASE!!! - https://uk.pcpartpicker.com/user/ion529/saved/#view=VKm9TW

Link to comment
https://linustechtips.com/topic/531219-help-with-html-website/#findComment-7047302
Share on other sites

Link to post
Share on other sites

You also forgot to close the <li> tagg, so </li>

<li>Sign up <li>Log in<li>Help

Also shouldn't this?:

  <div class= "learn-more" </div>  <div class= "container" </div>

Be:

  <div class= "learn-more"> </div>  <div class= "container"> </div>

CPU: Intel i5 6600 @ 3.3GHz (Boost 3.9GHz) | Motherboard: ASUS Skylake Z170-K | RAM: Kingston HyperX FURY 16GB DDR4 @ 2133MHz GPU: ASUS GeForce STRIX GTX970 OC 4GB | SSD: Samsung 850 EVO 500GB + 250GB | PSU: Cooler Master GM Series G650M | Case: Cooler Master CM 690 III (side window)

 

Link to comment
https://linustechtips.com/topic/531219-help-with-html-website/#findComment-7047344
Share on other sites

Link to post
Share on other sites

Yeah as @Yanderburg said you didnt close the <a> tag, you should get Sublime text 2 for mac if you are going to be doing HTML as when you put in a tag it auto closes it for you.

 

The difference between the registered and the unregistered is that every something saves you get a pop up message asking if you would like to purchase a license.  

 

close the <a> tag ;)

Ok thanks 

Link to comment
https://linustechtips.com/topic/531219-help-with-html-website/#findComment-7047577
Share on other sites

Link to post
Share on other sites

 

You also forgot to close the <li> tagg, so </li>

<li>Sign up <li>Log in<li>Help

Also shouldn't this?:

  <div class= "learn-more" </div>  <div class= "container" </div>

Be:

  <div class= "learn-more"> </div>  <div class= "container"> </div>

Yeah thanks 

Link to comment
https://linustechtips.com/topic/531219-help-with-html-website/#findComment-7047611
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×