Getting Started with HTML:A Beginner's Guide
HTML(Hypertext Markup Language) is a backbone of the web. It's used to structure content on the web and learning, it is the first step of your web development journey.
What is HTML?
HTML is the markup language for creating web pages. It uses elements, tags, attributes to define the structure of your content.
-> HTML code always between html element and html
element contain Head and Body elements.
-> Head is used for Meta Data.
-> Body is used for actual content.
Here is an example of a simple HTML document:
<!DOCKTYPE html>
My First HTML Page
Hello
This is a paragraph
Here are some commonly used HTML elements
Headings
-> Headings are used to make any text as important and each heading held its respective importance.
-> There are 6 headings possible in HTML
to
.
-> h1 is biggest one and h6 is least one.
This is heading
-> h1 is biggest one and h6 is least one.
This is heading
Paragraphs
-> Use the
tag for the text content.
This is paragraph
Links or Hyperlinks
-> Hyperlinks or links are used to navigate the user into different address or references.
-> For creating hyperlinks we use anchor tag .
Images
-> Images are used for visual creatives in web page.
-> tag is used to display images in web page.
Formatting tags
-> Formatting tags are used to format the text such
as bold, italic etc.
-> HTML formatting tags:
- - Bold text
- - Important text
- - Italic text
- - Emphasized text
- - Marked text
- - Smaller text
- Deleted text- - Inserted text
- - Subscript text
- - Superscript text.
Top comments (0)