70 likes | 82 Views
Hyperlinks. Summary of HTML/CSS. P. 36. 3 pages. P.44 – the first page links to 2 others http://wickedlysmart.com/hfhtmlcss Chapter 2 - lounge P. 46 – these are the actual files on the computer P. 47 - <a> tag with href attribute. Breaking it down. <a href=“elixir.html”>elixirs</a>
E N D
Summary of HTML/CSS • P. 36
3 pages • P.44 – the first page links to 2 others • http://wickedlysmart.com/hfhtmlcss • Chapter 2 - lounge • P. 46 – these are the actual files on the computer • P. 47 - <a> tag with href attribute
Breaking it down • <a href=“elixir.html”>elixirs</a> • Opening tag with attribute • Content • Closing tag • Can I put any content?
What are attributes again? • P. 51 • Always the same syntax
What about linking inside the page? • <a id="pagetop"></a> • <a href="#pagetop"> go to top </a> • id attribute can be used in any tag