The anchor tag <a> s used to create hypertext link to another document or page. The href (hypertext reference) specifies the url. The target attribute specifies the frame to display the content of the link when clicked on. The value of “_blank” opens the link in a new tab.
The div (divisions) is used to group a set of elements. The div is used by css to style the set. A span tag further group a subset of element in a div and be applied with a different style.
Semantic element denotes a specific purpose in a general document. They included header, footer, aside (semantically similar to remark or side notes), article, section and main.
No comments:
Post a Comment