Skip to main content

html building blocks

 

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 & value.

Click: web designing course in bangalore 

Syntax

  1. <tag name  attribute_name" attr_value"> content </ tag name>   
  • Elements: An HTML element is an individual component of an HTML file. In an HTML file, everything written within tags are termed as HTML elements.
 Example:
  1. <!DOCTYPE html>  
  2. <html>  
  3.   <head>  
  4.     <title>The basic building blocks of HTML</title>  
  5.  </head>  
  6.   <body>  
  7.        <h2>The building blocks</h2>  
  8.        <p>This is a paragraph tag</p>  
  9.        <p style="color: red">The style is attribute of paragraph tag</p>  
  10.        <span>The element contains tag, attribute and content</span>  
  11.   </body>  
  12. </html>    

Output:



 

Comments

Popular posts from this blog

why we need Internship after Graphic Designing Course

Are you completing your graduation? Are you applying to an internship? Are you aware of the reasons why it is important to have an internship? We will discuss all of these issues here. Internships are the very first step after we have completed our graphic design course. It’s one of the most efficient times for a fresher to get involved in creative tasks. Additionally you’ll gain an understanding of the ways your talents can be utilized to help an company. If you’re studying the course in graphic design An internship is a must for you. Why Do You Need an Internship in Graphic Designing? If you’re enrolled in graphic designing in Bangalore or any other city the first step is internship to a successful career. Learn more about why and the importance of internships for students.

photoshop tutorial for beginner

  What is Photoshop? photoshop is a photo editing and raster graphic design software which allows users to create, edit, and manipulate various graphics as well as digital art. It also allows to create and edit raster images with multiple layers and import the images in various file formats. Photoshop is developed by Adobe Systems for both Windows and MacOS. This is a photoshop basics for designers in the latest version of adobe photoshop CC . We are going to cover Introduction to Photoshop and a lot of features which are commonly used by each and every designers to create some composites or any design or to make any illustrations or even just doing some simple retouching on Photoshop latest version. So we are going to cover some most common features like workspace, layers, smart objects, blend modes, selections techniques, filters and much more Photoshop basics and necessary features that every designers use to work on photoshop. Adobe Photoshop V...

what is graphic design?

  In this post, we discuss what is graphic designing? when you google you will receive a lot of information but graphic designing is the art of communication design must be combining text and pictures. moreover, first, you understand one thing clearly graphic design is not drawing or painting or graphic designing is not create poster, logo, advertisement, magazines, and posters. graphic design is not a make fancy thing you should present information developed through creativity. let us understand what is graphic and design? Graphic: graphic is the visual representation is associated with art, creativity and expression include such as illustrations, painting, imagery, lettering, etc, graphic is made up of visual elements like color, shape, texture, space, and typography. design: In simple terms design is thinking and problem-solving when you design graphic you must follow guidelines that are a principle of design. principle of design: contrast, hierarchy, alignment, ba...