Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Publication Station
Search
Editing
Courses/Essential HTML
(section)
From Publication Station
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Day 1 the Wold Wide Web = == WWW (what ?)== HTML developed from the creation of the Wold Wide Web. :World Wide Web, AKA www, AKA the Web, '''is not''' the Internet. The Internet is essentially the motorway where many vehicles (or protocols) circulate, the Web is simply one of them. Others vehicles on the Internet are email, FTP, torrents, IRC chat, etc. The Web is a network of interlinked pages, that are accessible through a Web Browser. ==Tim Berners-Lee== The vision for what would become the Web came from '''Tim Berners-Lee''' who happened to be working at CERN in the late 1980s [[File:tim-berners-lee.jpg|Tim-Berners Lee]] == a bloody mess at CERN == Tim Berners-Lee in 1980 worked as a software developer at CERN. He was faced with a few facts that would make him muse about what would later become the Web. * CERN's incredible abundance of knowledge and research * CERN's equally abundance of different computer hardware/software, protocols, file formats, documentation systems '''<nowiki>==</nowiki> a bloody mess''' http://www.sciencephoto.com/static/media/images/collections/main/cern-the-european-organisation-for-nuclear-science.jpg Inside CERN == a unified, global '''documentation system'''== Berners-Lee wanted to create a unified, global '''documentation system''', that allowed CERN researchers to document and share their progress in both an easily readable easily writable way. == Enquire == Berners-Lee's first efforts went to the development of a program called ENQUIRE, a pet project to help him remember the connections among the various people, computers and projects at CERN. "In Enquire I could type in a page of information about a person, a device or a program. Each page was a βnodeβ in the program, a little like an index card. The only way to create a new node was to make '''a link''' from and old node" == a single information space == The Enquire experiment got him thinking: "''Suppose all the information stored in computers everywhere were linked β¦ Suppose I could program my computer to create '''a space in which anything could be linked to anything'''.'' All the bits of information in every computer at CERN, and on the planet, would be available to me and anyone else. These would be a single information space". == Proposal == In a proposal written to CERN's administration Berner-Lee listed the '''requirements''' for this global information space: * accessible across networks - providing data to different computers * distributed - allowing anyone to write information * non hierarchical - no tree structures, but stuff connected to stuff. http://info.cern.ch/images/proposal.gif Tim Berner-Lee [http://info.cern.ch/Proposal.html proposal] == Hypertext == Provided an non hierarchical way of connecting pieces of information, by interlinking them, and resulting in a web of content. Berner-Lee recognized the similarities between his concept for a single information space and the web like structure that hypertext allowed. == HTML == To put his ideas into practice Berner-Lee turned into one of the available '''markup languages''', SGML. [[File:OED-LEXX-Bungler.jpg|A snipped of SGML]] He simplified, and added '''external hyperlink''', to allow connection to external documents (in one direction). <source lang="html4strict"> <!DOCTYPE html> <html> <head> <title>Hello World</title> </head> <body> <h1>Greetings</h1> <p>This is my homepage!</p> </body> </html> </source> The marking is done by enclosing content in the element that will format it <nowiki><element>content</element></nowiki> ------- == Editor, Browser, Go == * Editor - your html writing tool * Browser - the interpreter of html, but also a debug and prototyping space == golden rules == * In HTML the content is given meaning or structure by being with an element or tag. * '''An element or tag''' is formed by angel brackets <nowiki>"<" and ">"</nowiki>, like <nowiki><h1></nowiki> - the heading1 element * In order to '''format content with tags''' you need to enter the content between an opening and closing element. As in the following case: <nowiki><h1>My Title</h1></nowiki> ** <nowiki><h1></nowiki> is the opening tag ** <nowiki></h1></nowiki> is the closing tag ** "My Title" is the content that will be formatted by the h1 tag and become a title * Once open a tag must be closed, either with * an end tag: '''<code></h1></code>''' <nowiki><h1>Closing Heading 1</h1></nowiki> * self-closing tag: '''<code><hr /></code>''' <nowiki><img src="nice_picture.jpg" /></nowiki> == html essential structural elements== * doctype <code><!DOCTYPE HTML></code> - an indication to the browser of what content will be given to it to interpret * html - all the content of an html file * head - invisible content: page title, character encoding, styles, etc. (not essential) * body - visible content == essential tags == <pre> Comments: <!-- comments --> Header: <h1>,<h2>,<h3>,<h4> Paragraph: <p> Line break: <br /> italics: <i> bold: <b> lists: <ul> or <ol> list items: <li> div container: <div> span: <span> Hyperlink(requires arguments): <a href="http://thecolourclock.co.uk/">a link</a></code> Image(requires arguments): img src="nice_picture.jpg" /> </pre> ---- == Resources == Historical: http://home.web.cern.ch/topics/birth-web - on the birth of the Web at CERN from CERN Technical: * https://developer.mozilla.org/en-US/docs/Web/HTML - HTML (HyperText Markup Language) * https://developer.mozilla.org/en-US/docs/Web/HTML/Element - HTML element reference * http://diveintohtml5.info - HTML 5
Summary:
Please note that all contributions to Publication Station are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Publication Station:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Main navigation
Main page
Printmaking Studio
Print Studio
Dig. Publishing Studio
Namespaces
Grafiwiki
Random Page
Log in
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs