World Wide Web Programming

HTML works entirely through tags. ◇ Tags define different parts of the file, different styles, links, embedded elements, … ◇ Every tag starts with < and finishes by >.
206KB taille 6 téléchargements 319 vues
World Wide Web Programming 3 – HTML basics

What do you need? An internet browser ‹ A text editor ‹ Some basic knowledge ‹ Good music ‹ This quick overview ‹

How does it work? ‹ ‹

‹ ‹

HTML works entirely through tags Tags define different parts of the file, different styles, links, embedded elements, … Every tag starts with < and finishes by > Some tags have a beginning and an end, in those cases the closing tag starts with • Example: This text would appear in Italic

Different parts of an HTML file ‹

Full file

• Your HTML files should start by and finish by

‹

Header

• Holds information about the file, like keywords, language, text encryption… • Everything surrounded by and • The title is defined here

‹

Body

• Actual “content” of the page • …

Example of a basic file ‹

Stupid test This is actually a really silly example
But it works


Tags parameters Most tags can have parameters ‹ Example: ‹