HTML- Basics
What is HTML?
>> HTML (HyperText Markup Language) Which is employed to write down Webpages. It is a programming language that was invented by Tim-Berners-Lee within the year 1993. Learning HTML is sort of a piece of cake. You just have to write the part of the Webpage like the Title, or the Navigation bar, and to write the parts there are special types of codes available in HTML called Tags. Tags are codes that define a particular part of a webpage like a tag defines the text that is to be shown on the title bar of a browser.
A simple HTML document
The - <!DOCtype html> - tag defines that this document is an HTML5 document these types of tags are called as "comments"
The - <html> - tag is the main tag of an HTML5 document.
The - <head> - tag contains meta info about the website.
The - <title> - tag specifies a title for the webpage.
The - <body> - tag is a container for all visible content like text, pics, vids etc.
The - <h1> - tag specifies a large heading.
The - <p> - tag specifies a paragraph.
Html-Links
HTML - Css
In this part of the article, I will introduce technology or language which is used to style or design an HTML website. It is called CSS or Cascading Style Sheet. As I have written before Html is used to write a website and to design an HTML website, CSS is used to design the HTML website.
CSS can be used as 3 different types. they are
1. Inline CSS
2. Internal CSS
3. External CSS
Inline CSS - The style attribute is used to write Inline CSS.
Internal CSS - The style element is used to write Internal CSS.
External CSS - The link element is used to link a CSS file with an HTML file. The CSS code is written in the linked CSS file.
You can learn more about CSS here - W3schools Full CSS course - W3schools CSS