Author: misamaliraza94
-
How to add CSS
CSS is added to HTML pages to format the document according to information in the style sheet. There are three ways to insert CSS in HTML documents. Inline CSS Internal CSS External CSS 1) Inline CSS Inline CSS is used to apply CSS on a single line or element. For example: <p style=”color:blue”>Hello CSS</p> 2) Internal CSS…
-
CSS Selector
CSS selectors are used to select the content you want to style. Selectors are the part of CSS rule set. CSS selectors select HTML elements according to its id, class, type, attribute etc. There are several different types of selectors in CSS. CSS Element Selector CSS Id Selector CSS Class Selector CSS Universal Selector CSS Group Selector…
-
CSS Syntax
A CSS rule set contains a selector and a declaration block. Selector: Selector indicates the HTML element you want to style. It could be any tag like <h1>, <title> etc. Declaration Block: The declaration block can contain one or more declarations separated by a semicolon. For the above example, there are two declarations: color: yellow; font-size: 11…
-
What is CSS
CSS stands for Cascading Style Sheets. It is a style sheet language which is used to describe the look and formatting of a document written in markup language. It provides an additional feature to HTML. It is generally used with HTML to change the style of web pages and user interfaces. It can also be…
-
Introduction to CSS
CSS Tutorial CSS tutorial or CSS 3 tutorial provides basic and advanced concepts of CSS technology. Our CSS tutorial is developed for beginners and professionals. The major points of CSS are given below: CSS stands for Cascading Style Sheet. CSS is used to design HTML tags. CSS is a widely used language on the web. HTML,…
-
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.…
-
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…
-
Building blocks of HTML
An HTML document consist of its basic building blocks which are: Tags: An HTML tag surrounds the content and apply meaning to it. It is written between < and > brackets. Attribute: An attribute in HTML provides extra information about the element, and it is applied within the start tag. An HTML attribute contains two fields: name…
-
HTML text Editors
An HTML file is a text file, so to create an HTML file we can use any text editors. Text editors are the programs which allow editing in a written text, hence to create a web page we need to write our code in some text editor. There are various types of text editors available…
-
HTML Introduction
HTML tutorial or HTML 5 tutorial provides basic and advanced concepts of HTML. Our HTML tutorial is developed for beginners and professionals. In our tutorial, every topic is given step-by-step so that you can learn it in a very easy way. If you are new in learning HTML, then you can learn HTML from basic to…