HTML Document Standards Flashcards
Learn HTLM code academy courses.
which declaration you have to use to let it know web browser that you are using HTML?
This declaration is an instruction, and it must be the first line of code in your HTML document. It tells the browser what type of document to expect
What tags does it use to create HTML structure and content?
() Anything between this tags will be interpreted as HTML code. The tags that enclose all of your HTML code
What is the use of the head tags?
he element is part of this HTML metaphor. It goes above our element and gives the browser some information about the page itself (Metadata).
What is metadata?
Metadata is information about the page that isn’t displayed directly on the web page.
What kind of metadata about the web page can the element contain?
Metadata typically define the document title, character set, styles, links, scripts, and other meta information.
what tags do you use to link to other websites?
You can add links to a web page by adding an anchor tags element <a> and including the text of the link between the opening and closing tags.</a>
what is the function of (href=””) in <a> tags ?</a>
“href” attribute. This attribute stands for hyperlink reference and is used to link to a path, The paths provided to the href attribute are often URLs.
Ej: <a>This Is A Link To Wikipedia</a>
what is the function of ( target=””) attribute in <a> element?</a>
The target attribute specifies how a link should open.
Ej: <a>The Brown Bear</a>
this will open the link in other pages.
What is a relative path?
A relative path is a filename that shows the path to a local file, tells the browser to look for the file in the current folder.
Ej: <a>Contact</a>
which syntax do you use for writing a comment in HTML code?
() use this syntax for add a comment to your HTML code.
Ej:
what is the function to use anchor tags <a>?</a>
Anchor tags (<a>) are used to link to internal pages, external pages or content on the same page.</a>