Posts

Showing posts from November, 2019

2) HTML Tags and HTML Elements

Image
A tag is a bit of text that acts as a point demarcation. To create a tag, HTML gives certain characters special meaning: the angle brackets < and >. Putting characters within angle brackets creates a tag. <h1> A heading </h1> There are two tags:   Start tag or opening tag and End tag or closing tag. An end tag always matches a start tag, except that it has an extra forward slash after the opening angle bracket. <h1> A heading </h1> Element The combination of a start and end tags define an element. Everything between the two tags is referred to as the contents of the element. <h1> A heading </h1>

1) HTML Introduction

Image
What is HTML? HTML stands for H yper T ext M arkup L anguage. HTML provides a way of displaying web pages with text and images or multimedia content. HTML is not a programming language, but a markup language. An HTML file is a text file containing small markup tags. The markup tags tell the Web browser, such as Mozila Firefox or Google Chrome, how to display the page. An HTML file must have an htm or html file extension. HTML pages are of two types:   Static Pages - Static pages, as the name indicates, compress static content (text or images). So you can only see the contents of a web page without being able to have any interaction with it.   Dynamic Pages - Dynamic pages are those where the content of the web page depend on user input. So interaction with the user is required in order to display the web page. For example, consider a web page which requires a number to be entered from the user in order to find out if it is een or odd. When the user enters the n...