Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.
Quiz on understanding URLs and creating hyperlinks with the <a> element.
Links and navigation are important for connecting users with the information they need. Here are some best practices for links and navigation: Linking: Use link keywords and phrases. When linking to documents, indicate that after the link. For example, "Sample Document (pdf)". Navigation: Keep your left navigation succinct, with eight items or less. Organize your navigation by task, topic, or audience. Shorten your navigation link text.
You can also use the HTML <a> tag to create hyperlinks. The syntax for the <a> tag is: <a href=``URL''> Text </a> Here,: URL: The destination of the link Text: The part that will be visible as a link
You can use the HTML <nav> tag to define navigation sections in web documents. The <nav> tag can be used to: Organize and present links Facilitate user navigation within or outside the current webpage Provide a clear structure for menus, tables of contents, or indexes
The syntax for creating a navigation link is: <nav> Links... </nav> Common examples of the <nav> elements are menus, tables, contents, and indexes.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.