Skip to main content

ATTRIBUTES

ATTRIBUTES TELLS US MORE ABOUT ELEMENTS

Attributes provide additional information about the contents of an element. They appear on the opening tag of the element and are made up of two parts: a name and a value, separated by an equals sign.

HTML5 allows you to use uppercase attribute names and omit the quote marks, but this is not recommended.


Attribute example 1

More about Attributes 

  1. The attribute name indicates what kind of extra information you are supplying about the element's content. It should be written in lowercase.
  2. The value is the information or setting for the attribute. It should be placed in double-quotes. Different attributes can have different values.
  3. Here an attribute called lang is used to indicate the language used in this element. The value of this attribute on this page specifies it is in US English.


  1. The majority of attributes can only be used on certain elements, although a few attributes (such as lang ) can appear on any element.
  2. Most attribute values are either pre-defined or follow a stipulated format. We will look at the permitted values as we introduce each new attribute.
  3. The value of the lang attribute is an abbreviated way of specifying which language is used inside the element that all browsers understand.



For more blogs related to technology you can visit Relatetechno.codes

Comments

Popular posts from this blog

HOW PEOPLE ACCESS THE WEB

" THE MAIN FACTORS THAT ARE IMPORTANT IN ACCESS THE WEB 1. BROWSER In order to view a web page, users might type a web address into their browser. 2. WEB SERVERS When we requested a web page, the request sent to a computer known as the webserver which hosts the website. 3. DEVICE It is important to remember that various devices have different screen sizes and some have faster connections to the web than others. 4. SCREEN READERS Screen readers are the program that read out the content of a computer screen to a user. They are commonly used by people with visual impairment. Thanks for visiting my blog. I will try to post regularly. For more blogs related to technology you can visit Relatetechno.codes

Summary of Text

We are understanding about text. In text we have learnt about how to use headings , paragraphs, How to BOLD , Italic, How to Superscript and subscript and how to creat Line breaks. In sementic  Markups we study strong and emphasis, quotation,abbreviation&Acronyms , Citation and definations , Author's Address and change in content. Here i attached a page . The Code The HTML Page Thank you for coming Here . For practing this you can choose Wikipedia pages.

HTML Describes the Structure of Pages

You can see an HTML code Below. If you Don't understand Than Don't worry, remember we just started our journey. There are two types of tags. one is opening tag and one is closing tag.in the code you see red and yellow text that called tags. All red tags are opening tags and all yellow are closing tags. CODE   <html> <body> <h1> This is 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-heading(or lower-level headings). </p> <h2> This is another sub-heading </h2> <p> here you can see another sub-heading. </p> </body> </html> For more blogs related to technology you can visit Relatetechno.codes