It depends. Omitting one or both of them may have no effect or may completely ruin the page or may change its appearance (anything from subtle to sharp), or may improve it in some browsers.
<!DOCTYPE html> Quirks, , (- ) . , , . , , Quirks.
, UTF-8, <meta charset="utf-8"> , . , HTTP ( , ) , , (.. ). UTF-8 Ascii, .
UTF-8, <meta charset="utf-8"> , . . utf-8 UTF-8.