What is HTML?
HTML stands for HyperText Markup Language. It provides the basic structure (or skeleton) of websites and is static in nature
Ways of connecting CSS to HTML
Three ways
- Inline
- Internal
- External
When to go for Inline CSS?
For minimal requirement and when it need to be specific for a tag and not for others
Locators in HTML?
Some comman locators in HTML are
Id, class name, tags
Which has more priority in CSS
From highest to lowest
- Inline
- Id
- Class
What is HTML attributes?
HTML attributes are special properties used inside HTML tags to provide additional information about elements
Example
tag has "href" as it's attribute
tag has "src" and "alt" as it's attribute
How to open a new tab from your website when clicked on a link that you provided?
target="_blank". This attribute need to be used inside "a" tag to open a new tab with the specified link
How to make an img as a link in a website?
Place the "image" tag inside "a" tag to make the image act as a link
What is Javascript?
Javascript is a high level programming language used to make website responsive and interactive and it is a scripting language
Top comments (0)