10 likes | 68 Views
Source of website: www.beasofbloomsbury.com. Print screen of webpage.
E N D
Source of website: www.beasofbloomsbury.com Print screen of webpage This is an external style sheet link. This means that the particular style is used for many pages. This is the cascading style sheet that can change the content and layout of the whole website with just one file. The <link> tag is used to link the style sheet and is located in the <head> section. “Text/cssrel=“stylesheet” A <meta> tag is a HTML code used to provide web browsers and search engines with information (called metadata). As you can see in the screenshot, the first meta data provided on the webpage is <title> Beas of Bloomsbury| The Best American Style Cakes, Cupcakes and Afternoon Tea in London </title>. It is also under the <head> tag. <meta> Print screen of source code <html> <!DOCTYPE> The <head> tag holds all of the head elements, such as <title> but also includes other elements beneath it, such as <style> and <meta>. The <body> tag, obviously defines what will appear on the document’s body. It contains all of the HTML contents i.e. text, hyperlinks, images etc. <head> The <html> tag (or root element) specifies that this is a HTML document. <!DOCTYPE> contains all of the HTML elements on the webpage if <html> is not present. This <link> tag is used to specify the relationship between a document and an external source on a webpage, commonly style sheets. This element also has to be under the <head> tag. <body> <link> <script type= “text/javascript”> Simply, the <div> is used to divide the document into sections. This is also used alongside cascading style sheets to create the layout of a webpage. The <script> tag on this webpage is JavaScript. This means that JavaScript is used alongside HTML to create this document. Typically, JavaScript is used to add functionality and interactivity. The src attribute is part of the <script> element and directs to an external script file. <div>