That’s actually something that varies from country to country.
the American style places commas and periods inside the quotation marks, even if they are not in the original material. British style (more sensibly) places unquoted periods and commas outside the quotation marks. For all other punctuation, the British and American styles are in agreement: unless the punctuation is part of the quoted material, it goes outside the quotation marks.
It’s always bothered me when writing technical documentation, that I would put the period or the comma outside of the quotes (since that’s what my English teachers always told me) but I am quoting something very specific which does not include the punctuation mark.
But when I’m not writing tech docs, I try to follow that “rule.”
They’re called “dad jokes”, not “bad jokes”. Spelling matters.
BTW here’s a bad faith joke:
Why couldn’t the bicycle stand up by itself?
It was two-tired… just like my faith in God.
Why did the chicken cross the road?
To get to the other side, where he was meeting his church group to tell them he would no longer be attending.
That’s a good one. When I heard it though, he was a thespian: a bad faith actor.
The period goes inside the quotation mark, Mr. Grammar.
That’s actually something that varies from country to country.
https://www.thepunctuationguide.com/british-versus-american-style.html
It’s always bothered me when writing technical documentation, that I would put the period or the comma outside of the quotes (since that’s what my English teachers always told me) but I am quoting something very specific which does not include the punctuation mark.
But when I’m not writing tech docs, I try to follow that “rule.”
It depends on the country.