To control how your web page will look on Twitter use Twitter cards. To check how your web page will look on the Twitter before actually posting it use Card validator.As of mid 2022, preview functionality was removed from the Card Validator 919.

One my example of Twitter cards:

<!DOCTYPE html>
<html xmlns="" xmlns:fb="">

	<meta content="text/html; charset=UTF-8" name="Content-Type" />
    <meta name="twitter:card" content="summary" />
    <meta name="twitter:site" content="" />
    <meta name="twitter:creator" content="@stankomilosev" />
	<meta property="og:title" content="Test title" />	
    <meta property="og:url" content="" />
    <meta property="og:image" content="" />
    <meta property="og:description" content="Test description" />	


Here is test link.

Notice line:

	<meta content="text/html; charset=UTF-8" name="Content-Type" />
Without that line it will not work.