8
Coding a Website

Coding a Website with HTML

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Coding a Website with HTML

Coding a Website

Page 2: Coding a Website with HTML

View Source CodeGo to Blue Valley High School website…

Page 3: Coding a Website with HTML

HTML vs. XHTMLHyperText 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).

Page 4: Coding a Website with HTML

CSS

Cascading Style SheetsCSS 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.

Page 5: Coding a Website with HTML

Precoding HTML Tags<html> Typed before all the text in the document. This marks the beginning of the html document.

Page 6: Coding a Website with HTML

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.

Page 7: Coding a Website with HTML

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.

Page 8: Coding a Website with HTML

Precoding HTML Tags<body> The body section contains the contents of your document.

</body> Closes the body tag.

</html> Ends the html document.