Skip to main content

Posts

Showing posts with the label sample html

HTML Tags

HTML Tags  What are HTML tags?   ƒ  HTML tags are used to mark-up HTML elements  ƒ  HTML tags are surrounded by the two characters < and >  ƒ  The surrounding characters are called angle brackets  ƒ  HTML tags normally come in pairs like <b> and </b>  ƒ  The first tag in a pair is the start tag, the second tag is the end tag  ƒ  The text between the start and end tags is the element content  ƒ  HTML tags are not case sensitive, <b> means the same as <B>  Logical vs. Physical Tags        In HTML there are both logical tags and physical tags. Logical tags are designed to describe (to the  browser) the enclosed text's meaning. An example of a logical tag is the <strong> </strong> tag. By  placing text in between these tags you are telling the browser that the text has some greater  importance. By default all browsers make the text appear bold when in between the <strong> and  </strong> tags.  Physical tag

HTML INTRODUCTION

What is an html File?                 HTML is a format that tells a computer how to display a web page. The documents themselves are plain text files with special "tags" or codes that a web browser uses to interpret and display information on your computer screen.  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The markup tags tell the Web browser how to display the page  An HTML file must have an htm or html file extension Try It? Open your text editor and type the following text: <html> <head> <title>My First Webpage</title> </head> <body> This is my first homepage. <b>This text is bold</b> </body> </html>       Save the file as mypage.html. Start your Internet browser. Select Open (or Open Page) in the File menu of your browser. A dialog box will appear. Select Browse (or Choose File) and locate the html file you just create