Computer

Cards (114)

  • Introduction to HTML
  • What is HTML?
  • HTML tags
  • Basic tags
  • Creating and
  • Editing an IML documant
  • Other useful tags
  • You already know how to use the Internet. While surfing on the Internet, you must have visited various websites. How colorful and nicely designed these websites are! Each screen
  • displayed on a website is called a web page. A website is a collection of many web pages in the same way as a notebook has many pages. Any website or web page can be visited using the web browser software, such as Internet Explorer, Google Chrome and Opera Safari.
  • Let us now learn how to create a web page. To design a web page, you need to learn a new language called HTML.
  • What is HTML?
  • HTML stands for HyperText Markup Language. It is the language that is understood by a web browser for composing text and images (still as well as animated) for a web page. HTML is basically a building block for web pages. how to display a web page. format that tells a computer
  • HTML editor
  • You must be wondering which software is used to write the pages. It is only a simple text editor like Notepad where. to a web browser by the following simple steps: HTML code for designing web type HTML code and link it
  • Click on Start All Programs Accessories →→ Notepad Type the HTML code or program in the Notepad window.
  • Click File Save to save the file.
  • If you simply type the file name in the Save As dialog box and press the Save button the computer will save it as a notepad file with a file extension of 'txt'. However, you want it to be saved as a web page. So, save the file by giving the fie extension as 'html' or 'htm' Fact box
  • The file extension of a web page file is 'html For example, first.html, intra.htm,
  • HTML tags
  • A web page is made several elements such as the title of the page, headings in the page (like in a newspaper), written text, paragraphs and images. Each element is defined by an HTML tag, An HTML tag is nothing but a label added to the text that is to shown on the web page. These labels or tags tell the web browser where particular text to be displayed and how it is to be displayed. HTML tags brackets, that is, always enclosed in angle
  • es Word is also a type of d-processing software, it is generally not web pages. This is becaus of the file that is created avoid using for creating
  • Fact box
  • Although HTML tags are not case (this means that title is the same as ), lowercase is preferred the time of coding
  • There are two types of HTML tags:
  • Container tag: HTML tags that are generally used in pairs are called container tags as
  • these tags are written with some text between the first and the second tags. The first tag is called a Start tag or ON tag and the second tag is called a End tag or Off tag The End tag is created by simply placing a forward slash (/) in front of the Start tag. Examples of container tags as follows.
  • Start tag
  • End tag
  • Empty tag: Empty tags those that do
  • need an End tag. They are not used in pairs and are represented only by a Start tag or ON tag. Examples of empty tags are the line break tag and the horizontal ruler tag .
  • Nested tags
  • You can start using another tag without closing the first tag. This means that one tag can contain other tags also. Such tags are known as nested tags. must remember that when you start closing such tags, the tag that has been You m
  • 9 opened last should be closed first. It is not important which tag is opened first, but it is closed first. For example,
  • very important which tag should be This is not a proper way to close nested tags This is the proper way to close nested tags
  • Tag attributes
  • Attributes can be added to HTML tags. An attribute is defined an additional feature that can be added to the HTML elements on your web page. For example, by using align="right" attribute, you can align your text to the right side of your web page. The tag tells the web browser what to do and the attribute tells the browser how to do it.
  • Fact box Every tag cannot take every attribute.
  • Basic HTML tags
  • HTML An HTML tag is used to the browser that text contained between and is a web page and can be viewed in a web browser. Every web page coding must start with and end with . An HTML tag is a container tag.
  • A Head tag is used to define the header area of your web page. The information given in a Head tag tells the computer that this information is not to be shown on the web page. It is a container tag used in pairs as and . Every web page coding must have its header specified.