DEV Community

Cover image for HTML scratch course part 1
Daniel
Daniel

Posted on

HTML scratch course part 1

Hi there, I am Daniel from India. This post is about Hypertext markup language [HTML].

HTML history

HTML had created by Sir Tim Berners-Lee in late 1991, But it had officially published in 1995 as HTML 2.0.

Different versions of HTML

HTML 1.0
HTML 2
HTML 3.2
HTML 4.01
HTML 5 [LATEST]

Uses of HTML

HTML had used to create E-documents. E-documents is get displayed on the World Wide Web.

Fact to know

The world wide web had created by Sir Tim Berners-Lee.

Suggested HTML editors

Visual studio code
Notepad ++
Sublime text
Atom

File extensions of HTML

.html
.htm

Sample output of website


My website


Heading text



!cannot show the code because this website formates it

What are tags?

HTML tags are keywords that define how a web browser will format and portray the content.

What are attributes?

HTML attributes provide additional information about HTML elements.

Note:
All HTML elements can have attributes

Examples of attributes and their use

HREF = The href attribute specifies the URL of the page. Example: . a refers to a link. If you click that link, you get redirected to website.com.

REL = The rel attribute specifies the relationship between the current document and the linked document.

Linking CSS file

Linking Cascading style sheet [CSS] is very easy.

Note:

CSS is used to make the website look beautiful.

Code:

Linking Javascript file

Linking Javascript files is also very easy.

Note:

Javascript is used to make the website more interactive.

Code:

PART 1 HAD OVERED!
GIVE YOU SUPPORT THROUGH ❀️

Top comments (0)