Skip to main content

HTML(Hyper Text Markup Language)

Class 12 computer 06.08.2020

 

HTML Tags

HTML tags are like keywords which defines that how web browser will format and display the content. With the help of tags, a web browser can distinguish between an HTML content and a simple content. HTML tags contain three main parts:

opening tag, content and closing tag. But some HTML tags are unclosed tags.

When a web browser reads an HTML document, browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties.

An HTML file must have some essential tags so that web browser can differentiate between a simple text and HTML text. You can use as many tags you want as per your code requirement.

  • All HTML tags must enclosed within < > these brackets.

  • Every tag in HTML perform different tasks.

  • If you have used an open tag <tag>, then you must use a close tag </tag> (except some tags)

HTML Attribute

  • HTML attributes are special words which provide additional information about the elements or attributes are the modifier of the HTML element.


  • Each element or tag can have attributes, which

  •  defines the behaviour of that element.
  • Attributes should always be applied with start tag.

  • The Attribute should always be applied with its name and value pair.

  • The Attributes name and values are case sensitive, and it is recommended by W3C that it should be written in Lowercase only.

  • You can add multiple attributes in one HTML element, but need to give space between two attributes.

  • <element attribute_name="value">content</element>  

  • <html>  

  • <head>  
  • </head>  

  • <body>  

  •     <h1> This is Style attribute</h1>  

  •    <p style="height: 50px; color: blue">It will add style property in element</p>  

  •     <p style="color: red">It will change the color of content</p>  

  • </body>  

  • </html>  

The href attribute in HTML


Description: The href attribute is the main attribute of <a> anchor tag. This attribute gives the link address which is specified in that link. The href attribute provides the hyperlink, and if it is blank, then it will remain in same page.

1.      <a href="https:// ">This is a link</a>  











Comments

Popular posts from this blog

Input Devices

Input Devices(इनपुट डिवाइस ) Input device enables the user to send data, information or control signals to computer. Central processing unit of computer receives the input and processes it to produce output. Some of the popular input devices are: Keyboard Mouse Scanner Joystick Light Pen Track ball Digitizer Microphone Magnetic Ink Character Recognition (MICR) Optical Character Reader (OCR) Keyboard (कीबोर्ड ) It is a basic input device that is used to enter data by pressing keys. It has different sets of keys for letters, numbers, characters and functions. QWERTY keyboard is the commonly used keyboard to enter data. Mouse (माउस) It is a hand held input device. It is used to move cursor or pointer across the screen. It generally has left and right button and a scroll wheel between them. Laptop computers come with a touch pad that works as a mouse. It lets you control the movement of cursor or pointer by moving your finger over the touchpad. Scanner (...

Memory Hierarchy

Memory Hierarchy A memory unit is an essential component in any digital computer since it is needed for storing programs and data. Typically, a memory unit can be classified into two categories: The memory unit that establishes direct communication with the CPU is called  Main Memory . The main memory is often referred to as RAM (Random Access Memory). The memory units that provide backup storage are called  Auxiliary Memory . For instance, magnetic disks and magnetic tapes are the most commonly used auxiliary memories. Apart from the basic classifications of a memory unit, the memory hierarchy consists all of the storage devices available in a computer system ranging from the slow but high-capacity auxiliary memory to relatively faster main memory. The following image illustrates the components in a typical memory hierarchy. Auxiliary Memory Auxiliary memory is known as the lowest-cost, highest-capacity and slowest-access storage in a computer system....

MAIN MEMORY

Main Memory The main memory acts as the central storage unit in a computer system. It is a relatively large and fast memory which is used to store programs and data during the run time operations. The primary technology used for the main memory is based on semiconductor integrated circuits. The integrated circuits for the main memory are classified into two major units. RAM (Random Access Memory) integrated circuit chips ROM (Read Only Memory) integrated circuit chips RAM integrated circuit chips The RAM integrated circuit chips are further classified into two possible operating modes,  static  and  dynamic . The primary compositions of a static RAM are flip-flops that store the binary information. The nature of the stored information is volatile, i.e. it remains valid as long as power is applied to the system. The static RAM is easy to use and takes less time performing read and write operations as compared to dynamic RAM. The dynamic RAM exhibits...