+ 1

Pls, what is the meaning of <base> and <base font> tags and how they work.

HTML

2nd Jun 2020, 9:55 PM
Abdullahi Muhammad
3 Réponses
+ 1
The <basefont> tag was used in HTML 4 to specify a default text-color, font-size or font-family for all the text in an HTML document. https://www.w3schools.com/tags/tag_basefont.asp
2nd Jun 2020, 10:03 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 1
The <base> tag specifies the base URL and/or target for all relative URLs in a document. The <base> tag must have either an href or a target attribute present, or both. There can only be one single <base> element in a document, and it must be inside the <head> element. https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.w3schools.com/tags/tag_base.asp&ved=2ahUKEwj46qy9keTpAhUD5uAKHblWAlMQFjABegQIDBAF&usg=AOvVaw05XfnUCxXGyYOXaEJ4cXV4
2nd Jun 2020, 10:05 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 1
The HTML <basefont> tag defines the default font-family, font-size, and the color of the text document. While the HTML <base> tag is used to specify the base URL and its relative links. Happy to answer in my own opinion. Thanks and happy coding.
3rd Jun 2020, 1:10 AM
James Clark I. Vinarao
James Clark I. Vinarao - avatar