{"id":15617016,"url":"https://github.com/titaniumbones/html-tutorial-ex","last_synced_at":"2026-01-07T19:05:20.227Z","repository":{"id":141872325,"uuid":"101451341","full_name":"titaniumbones/html-tutorial-ex","owner":"titaniumbones","description":"A quick example of how to write a simple HTML tutorial","archived":false,"fork":false,"pushed_at":"2017-10-10T18:15:14.000Z","size":7,"stargazers_count":0,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T06:36:41.103Z","etag":null,"topics":["assignment","coursework","html-tutorial"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/titaniumbones.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-26T00:16:14.000Z","updated_at":"2017-09-12T09:26:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"8259acf3-061f-483c-99bc-b2add88cf8d5","html_url":"https://github.com/titaniumbones/html-tutorial-ex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titaniumbones%2Fhtml-tutorial-ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titaniumbones%2Fhtml-tutorial-ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titaniumbones%2Fhtml-tutorial-ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titaniumbones%2Fhtml-tutorial-ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/titaniumbones","download_url":"https://codeload.github.com/titaniumbones/html-tutorial-ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246201749,"owners_count":20739809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assignment","coursework","html-tutorial"],"created_at":"2024-10-03T07:40:58.755Z","updated_at":"2026-01-07T19:05:20.155Z","avatar_url":"https://github.com/titaniumbones.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Understanding `a` tags in HTML\n\nThe `a` tag is a fundamental HTML element responsible for much of the linking goodn ess that makes HTML great!\n\n## Components\nLet's take a quick look at how the tag works:\n\n``` html\n\u003ca href=\"sourceurl\"\u003eDisplayed Text\u003c/a\u003e\n```\n\nAs in any tag, there's a basic structure of ```\u003ctag attr=\"value\"\u003econtent\u003c/tag\u003e```. The fantastic, amazing attribute in the `a` tag is `href` -- short for \"hypertext reference\". The `href` attribute identifies a target URL; when this HTML snippet is displayed in a browser, the browser will direct you to the URL in the href attribute. Let's try it out:\n\n``` html\n\u003ca href=\"https://google.com\"\u003eGoogle Owns All Your Data\u003c/a\u003e\n```\n\n\u003ca href=\"https://google.com\"\u003eGoogle Owns All Your Data\u003c/a\u003e\n\nAs with most HTML tags, the `a` tag accepts a number of possible attributes. Some of them are used only rarely, but you will often see the `target` attribute in the real world. THis allows you to specify where to open the link you click on:\n- `_self` means \"open here\"\n- `_blank` means \"open in a new tab\"\n- `_parent` means \"if you're looking at an [internal frame](https://developer.mozilla.org/en/docs/Web/HTML/Element/iframe), open this link in the frame's arent tab. Otherwise, just open here like in `_self`\n\n## Try it yourself\n\nYou can clone this repository and load a local copy of [the tutorial page](./a-tag-tutorial.html) in your browser to see the tag in action. Then make some changes to the file to learn this yourself!\n\n## Learn More\n\nThe [Mozilla Developer Network](https://developer.mozilla.org/en/docs/Web/HTML/Element/a) has lots more detail about this and every HTML tag!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitaniumbones%2Fhtml-tutorial-ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftitaniumbones%2Fhtml-tutorial-ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitaniumbones%2Fhtml-tutorial-ex/lists"}