Set the type attributes to "text" and the placeholder attribute to "Credit card name".

<html>
<head><style>body {min-height: 300px;} input { font-size: 16px; } textarea { font-size: 16px; } </style></head>
<body>
  <h3>Checkout</h3><input type="text" placeholder="Credit card name"><input type="text" placeholder="Billing address">
</body>
</html>]]>

Make sure to set the type with type="text" and the placeholder with placeholder="Credit card name".