You are on page 1of 3

Type of Project/company code base

1. Private code - In private code one employee of the company can edit the code.
2. Open source- IN open source code anyone can change the code because it is public.

GitHub

Github is a code hosting program where we can can store our code.

Repositories - it is folder in github

Types of repositories - 1. Public - Here code can be accessed by anyone(Open source company)

2.Private - Here code can be accessed by company permission All


company keep their code secured by keeping it private.

HTML

Opening and closing tags

<html> </html>

Structure in html

1.Head

2.Body

Syntax in Html

<html>

<head>

<title> </title>

</head>

<body>

</body>

</html>

HTML Tags

There are two types of HTML Tags-

Example- paragraph tag

<P> </p>

2.Self closing tag

<img/>
Heading Tag : HTML Heading tag is used to define the headings of a page.There are 6 heading
elements- h1, h2,h3, h4,h5,h6; h1 is highest level and h6 is the least.

Image tag

Syntax-<img src=””alt=””/>

img stands for image

src stands for sourceof the image

alt is the alternative text which is shown in case where image is not loaded due to any
circumstances.

CSS

Css is used to provide styling to HTML elements.

How to link Css file in html ?

<html>

<head>

<link rel=”stylesheet” href=”styles.css”>

</head>

</body>

</html>

CSS Selectors
1.id

Syntax
<p id=”name”>My name is … </p>
To access id in css file, we have to use # (hash) before the id name.

In css -
#name{
color: red;
}
2. class
Syntax -
<p id=”age”>My age is … </p>
To access class in css file, we have to use . (dot) before the class name.

In css -
.age {
color: yellow;
}

You might also like