11 - What does target=”main_section” do? in html css?
HTML target attribute specifies where to open the linked document.
It mainly used with anchor tag <a> and form tag <form>
target attribute can take values as below:
_blank: opens the linked document in new window
_self: opens the linked document in the same frame
_parent: opens the linked document in parent frame
_top: opens the linked document in the full body of the window
framename: opens the linked document in specified frame name
Here, target=”main_section”
So linked will be opened in frame named main_section
Get Answers For Free
Most questions answered within 1 hours.