5th day

The first minutes to read new definition of git and html make me ambiguous. Then after practicing more times with the guide of tutor and instructor, I can do better.

Remember the following commands as below:
git
1, git init: make initial repo
2, git remote add origin : synchronizing local repo to remote repo
3, git remote remove origin (or git remote rm origin): if post wrong remote repo, can remove the old repo
4, git add . (or git add if there is only 1 file on local repo): move file from unstaged to staged and assign git to track the change of local repo
5, git commit -m””: track the change
6, git push origin master: push local repo to remote repo

html
1, tag (content)
Mostly there are open tag and close tag, some special tag is open tag: br, img,…
2, property: use to insert in tag, 1 tag can have more properties. Property have 2 point: name & value. Formula: name=”value”

3, some tags were learned in today

-<h1>: heading

-<p>: paragraph

-<br>: break

-<a>: anchor – declare a weblink <a href=”link”> (content) </a>

-<img>: declare an image <img scr=”object” width=”number” height=”number” >

-<ol>: order list

-<ul>: unorder list

-<li>: list items

Hoping for new things in the next week.

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar

Facebook