In the master page you can do this:
<head runat="server">
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
</head>
Then in the aspx:
<asp:Content ID="TitleContent" ContentPlaceHolderID="TitleContent" runat="server">
<asp:Literal ID="TitleLiteral" runat="server" Text="Whatever" />
</asp:Content>
I believe the meta tags can be done in a similar fashion, but you'll need to put the whole tag in the text of the literal.