Basic HTML insights for QA's

Basic understanding of HTML

Whats the purpose of Tags & Attributes?

Tags of HTML tell the browser what to present, its attributes tells how to present that.
Attributes helps in improving the appearance of a web page

Commonly used Tags & their purpose

HTML form is a container and it can contain one or more buttons, text boxes and other form elements.

Input tag
We use input tag to create form elements like radio, button, submit etc

Option tag
The <option> tag is used to define the options in the drop down list.

Frameset tag
It is used for creating frames.
A <frameset> element holds one or more <frame> elements.
When we are creating frames we are actually working with multiple html documents.

List tags
Order list -> ol
Unorder list -> ul

li Tag:
The content of the list is created using <li> tag

Div Tag
Div stands for division because it divides the content into individual sections.
It is used as a container to group block elements in HTML

Span Tag
We can style or manipulate a text using <span> element
It is used to format a part of text. (Like, applying a color to a word in a sentence)



Comments

Popular posts from this blog

QA's approach 2 Java - Understanding Static context

Selenium 4 absolute beginners - How to create Batch execution file

Technologies - Log4J - Create Log4j Configuration File - Where ? How ? What ?