90 likes | 114 Views
Learn the fundamentals of HTML, including its structure, tags, versions, and the importance of HTML in web design. Discover the elements that make up an HTML page and how to use them effectively. Enhance your web design skills with this introductory HTML course.
E N D
HTML Module1-Introduction
What you will learn • Introduction • What you need to know before learning HTML • What is HTML? • Versions of HTML • Structure of an HTML page • Code • Body, Head, Title
HTML Introduction • Some time ago web designing was done merely using graphic designing software like Photoshop, CorelDraw etc.. You did not need to know any code • This time as a wed designer you need to know how to code • In order to code or understand how web pages are coded, you need to learn HTML, CSS and JavaScript languages. • This is the HTML Course
What you need to know before learning HTML Before you to learn HTML you should already have Knowledge of :- • Basic computer knowledge • basic word processing software • Basic graphic designing software e.g Photoshop etc…
What is HTML? -HTML is a coding language used to make web pages • HTML stands for Hyper Text Markup Language. • HTML describes the structure of Web pages using markup. • HTML elements are the building blocks of HTML pages. • HTML elements are represented by tags. • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on. • Browsers do not display the HTML tags, but use them to render the content of the page
Structure of an HTML page The <!DOCTYPE> Declaration • The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly. • It must only appear once, at the top of the page (before any HTML tags). • The <!DOCTYPE> declaration is not case sensitive. • The <!DOCTYPE> declaration for HTML is: <!DOCTYPE html>
HTML Versions Since the early days of the web, there have been many versions of HTML:
Code showing tags <html> <body> <h1>This is the Main Heading</h1> <p>This text might be an introduction to the rest of the page. And if the page is a long one it might be split up into several sub-headings.<p> <h2>This is a Sub-Heading</h2> <p>Many long articles have sub-headings so to help you follow the structure of what is being written. There may even be sub-sub-headings (or lower-level headings).</p> <h2>Another Sub-Heading</h2> <p>Here you can see another sub-heading.</p> </body> </html>
Body, Head, Title <body> • You met the <body> element in the first example we created. Everything inside this element is shown inside the main browser window. <head> • Before the <body> element you will often see a <head> element. • This contains information about the page (rather than information that is shown within the main part of the browser window that is highlighted in blue on the opposite page). You will usually find a <title>element inside the <head>element. <title> • The contents of the <title> element are either shown in the top of the browser, above where you usually type in the URL of the page you want to visit, or on the tab for that page (if your browser uses tabs to allow you to view multiple pages at the same time).