One place for hosting & domains

      Archives hassan latif

      What is CSS?


      Cascading Style Sheets (CSS) is a stylesheet language used to control the presentation of websites.

      CSS was first introduced by Håkon Wium Lie in 1994 while working at the European Organization for Nuclear Research (CERN) alongside Tim Berners-Lee, the inventor of the World Wide Web. At the time, webpages were typically created exclusively with HTML, the Hypertext Markup Language that Berners-Lee had developed in the 1990s.

      However, HTML had been developed to describe the semantics of a web document’s components (such as its headings and paragraphs) rather than provide style instructions. As the growing use of HTML to style webpages became increasingly unwieldy, CSS was introduced to provide a more efficient method for styling websites in conjunction with HTML. Today, along with HTML and JavaScript, CSS is one of the core technologies supporting the World Wide Web.

      For more educational resources related to CSS, please visit:

      A complete list of educational resources related to CSS is available on our CSS page.



      Source link

      What is an HTML Element?


      An HTML element is a component of an HTML document that tells a web browser how to structure and interpret a part of the HTML document. HTML elements can contain formatting instructions, semantic meaning, and content.

      For example, HTML elements are used to denote document parts such as headers, paragraphs, and footers and to embed content such such as hyperlinks, text, and images. Although HTML can be used to provide formatting instructions, HTML standards strongly encourage using CSS for this purpose instead.

      An HTML element is often — but not always — created by opening and closing HTML tags, which wrap around a piece of content. Below is an illustration that labels each of the parts of an HTML element:

      Diagram of an HTML element

      For more educational resources related to HTML elements, please visit:

      A complete list of educational resources related to HTML is available on our HTML page.



      Source link

      What is an HTML Tag?


      An HTML tag is a piece of markup language used to indicate the beginning and end of an HTML element in an HTML document.

      As part of an HTML element, HTML tags help web browsers convert HTML documents into web pages. For example, the <p> tag is used to organize text content into paragraph elements and the <img> tag is used to embed image elements.

      Many tags, though not all, use an opening tag and closing tag to wrap around the content that they are used to modify. Closing tags are denoted with a backslash like this: </tag_name>. HTML tags are not visible in the browser.

      The following diagram illustrates how tags are commonly used in HTML elements:

      Diagram of an HTML element

      For more educational resources related to HTML elements, please visit:

      A complete list of educational resources related to HTML is available on our HTML page.



      Source link