Posts

HTML Attributes

  Attributes  HTML attributes are properties of tags that provide additional information about HTML elements. We can use them to modify the behaviour of HTML elements. Key points of HTML Attributes: There are several important points about HTML attributes you should keep in mind while working with attributes. (1) We can put attributes after the element name in the opening tag only, never in the closing tag. (2) As per need, we can apply several attributes to an element, separated by spaces in the opening tag. Their order is not important. (3) Most HTML attributes take values, which follow an equal sign (=). Some attribute values take a single descriptive word. (4) HTML allows us to enclose attribute values either in single or double quotation marks. Both are acceptable as long as the opening and closing marks match. Note that quotation marks in HTML files must be straight (“), not curly (”). Types of HTML Attributes There are mainly three types of HTML attributes. They are as:...

HTML tags

Types of Tags in HTML There are mainly two types of tags available in the HTML. They are as: (1) Paired tag: This tag has both start and end tags. For example, <b> and </b> tags are the paired tags. (2) Empty tag: This tag does not require to be closed. It has only start tag. For example, <br> tag is an empty tag. How do HTML Tags work? The function of HTML tags is to define the structure and content of a webpage. When a web browser renders a webpage, it reads the HTML code line by line and interprets these tags to display the content on the webpage. Element :  A pair of tags and the content within (or between) those tags are known as an HTML element. Types of Elements There are mainly two basic types of markup elements. They are as: 1. Block element : - A block-level element always starts on a new line, and the browsers automatically add some space (a margin) before and after the element. - A block-level element always takes up the full width available (stretches...

Introduction of HTML

 - HTML (stands for Hypertext Markup Language) is a markup language used to create web pages.  - It is a foundation of any webpages or websites. It is basically just a text file with codes that tells the browser how to display the information. - Tim Berners-Lee, a British computer scientist who was also the inventor of the World Wide Web, created HTML in the early 1990s.  - HTML1.0 :   It was the first version of HTML, released in 1991. - HTML 2.0: was the first standard HTML specification which was published in the year 1995. - The latest version of HTML is HTML 5.3, released on 28 Jan 2021.  - Hypertext Markup Language is not a programming language. It is a markup language, which means it is a system for identifying and describing the various elements of a web page document, such as headings, paragraphs, links, images, colors, lists, etc. - HTML means Hypertext Markup Language, which is a text file. - It is widely used language on the web for developing w...