Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Coding a Website with HTML


Published on

Published in: Technology
  • Be the first to comment

Coding a Website with HTML

  1. 1. Coding a Website
  2. 2. View Source Code Go to Blue Valley High School website…
  3. 3. HTML vs. XHTML HyperText Markup Language HTML is the language that has historically been used to create documents on the web. It is plain text, but includes a variety of tags that define the structure of the document, and allow documents to include headings, paragraphs, images, links, lists, tables, and other features. XHTML is a rewrite of HTML as an XML language. XHTML is very similar to HTML, but has stricter rules. HTML was relaxed about things such as case sensitivity (XHTML elements must be in lower case) and closing tags (all XHTML elements must be closed).
  4. 4. CSS Cascading Style Sheets CSS is a language that is used in conjunction with HTML to control how web pages are displayed. The difference between HTML and CSS is that HTML defines the structure and content of the document, and CSS controls the presentation.
  5. 5. Precoding HTML Tags <html> Typed before all the text in the document. This marks the beginning of the html document.
  6. 6. Precoding HTML Tags <head> Web pages are divided into two main sections: the head and the body. The head provides information about the document, including the author, description, keywords, title, and other information. *In our "bare bones" document the only content in the head section of our web page is the title. </head> This marks the closing of the head section.
  7. 7. Precoding HTML Tags <title> You must give your document a title. This title doesn't actually appear within the web page, but appears in the title bar of the browser window. This is also the title of the page that will be displayed by default in search engine results or in user's Favorites. </title> Closes the title tag.
  8. 8. Precoding HTML Tags <body> The body section contains the contents of your document. </body> Closes the body tag. </html> Ends the html document.