Day 2 :Pushing HTML coding in Git And
Learn about attribute of anchor tag<a>
First WWW.Project
Learn about Git and GitHub
Learn about How to Push Code in GitHub
Learn about attribute of anchor tag<a>:
The <a>anchor tag defines a hyperlink, which is used to link from one page to another. By using href attribute inside the anchor tag<a href="">here we mention a link </a>
First WWW.Project :
Project ---- World Wide Web Project it contains headings ,side headings ,anchor tag with href attribute in the paragraph element. By doing this project in HTML we are able to get awareness on anchor tag attribute.
ex: <p>giving a link<a href="project">project</a>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>www.project</title>
</head>
<body>
<h1>world wide web</h1>
<p>The WorldWideWeb (W3) is a wide-area <a href="hyper">hypermedia</a> information retrieval initiative aiming to give universal access to a large universe of documents.</p>
<p>Everything there is online about W3 is linked directly or indirectly to this document, including an<a href="summary">executive summary </a>of the project,<a href="mai"mail"> Mailing lists</a> , <a href="Policy">policy</a> , November's <a href="W3 news">w3 news</a> ,<a href="frequently">Frequently Asked Questions</a> .</p>
<h3><a href="what">what's out there?</a></h3>
<p>Pointers to the world's online information, <a href="subjects">subjects</a> ,<a href=" W3 servers">w3 servers</a>, etc.</p>
<h4><a href="help">Help</a></h4>
<p>on the browser you are using
</p>
<h4><a href="Software Products">Software Products</a></h4>
<p>A list of W3 project components and their current state. (e.g.<a href=" Line Mode "> Line Mode </a>,X11<a href="Viola">Viola</a> , <a href="NeXTStep">NeXTStep</a> ,<a href="Servers">Servers</a>,<a href="tools">Tools</a>,<a hreff="Mail robot">Mail robot </a> , <a href="Library">Library</a> )</p>
<h4><a href="tech">Technical</a></h4>
<p>on the browser you are using</p>
<h4><a href="Bibliography">Bibliography</a></h4><p>Paper documentation on W3 and references.</p>
<h4><a href="people">People</a></h4>
<p>A list of some people involved in the project.</p>
<h4><a href="his">History</a></h4>
<p>A summary of the history of the project.</p>
<h4><a href=" hci">How Can I help</a>?</h4>
<p>If you would like to support the web.</p>
<h4><a href="gec">Getting Code</a></h4>
<p>Getting the code by <a href="anoym">anonymous FTP</a>, ect.</p>
</body>
</html>
Learn about Git and GitHub:
GIT : It is a free and open-source version control system that manages and keeps track of your code.
GITHUB : It is a platform for developer to store ,share and push there code in public.
Le
arn abo
ut How to
Pu
sh Code in
Git
Hub:
First download and install GIT and verify it's version by giving "git -v" in command prompt .
second go to github.com and create a account by signup. After creating account create a repository init.
Go to vscode accounts icon --click sign in ---choose ur github account and connect it with vscode.
After connecting vscode with github now push your code into it by giving following comment.
\=> Go to terminal---new terminal--enter
\=>Now give your Github Repository commands
\=> git init --- it will initiate git into your folder , git add . ---- it add all your files into git, git commit -m "give message" ---it will commit your git and added a message which you given , git branch -m master/main----the branch present in your vscode ,git remote add origin---- your repository link,
git push -u origin --- it push your code into github repository.