meta name title is not required anymore by the largest search engines, they are both semantically correct but the <title> tag is the recommended way.
The <title> tag is what we recommend that you use and prioritize as it is the valid HTML markup. The <meta name=”title”> tag is just metadata content, and different crawlers will use or not use that information as they see fit.
To learn more about how to craft great SEO titles, you can refer to this article — https://yoast.com/page-titles-seo/
Thanks @destac for the input as well!