Showing posts with label html links. Show all posts
Showing posts with label html links. Show all posts

Tuesday, 8 September 2015

Video embedding

It is simple to add a video to your page. There are just three things required to embed a video from a player like Youtube or Vimeo into a HTML webpage.

  • The HTML file you want to insert a video to 
  • An idea of the size you want the video to be
  • Access to the video online

Find the share button on Youtube, then the embed button. Copy the <iframe> code and paste it into your HTML document. The same steps are applied if the video is from another website, like Vimeo. Find the share and embed button and the <iframe code> - Paste into HTML document.

HTML Links


  • Links on webpages allow users to click from one page to another
  • Link pages together 
  • HTML links are called Hyperlinks 
  • A Hyperlink is a text or an image that you can click on that will take you to a different page. 
  • In HTML, links are defined by the <a> tag 
      <a href="url">This is a link</a>
  • The 'href' attribute specifies the link address/location 
  • Attributes are used to provide additional information about the element 
  • The link text is the only visible part of the link
  • This can be text or an image, or any other HTML element 
     When you hover over a link, two things will usually happen:
  • The cursor will change to a small hand
  • The colour of the link element will change 
     By default links will appear as:
  • Unvisited - Underline & Blue
  • Visited - Underline & Purple
  • Active - Underline & Red