Thank you for your question and for asking for me.
Yes, you can travel from the EU to the US as a visitor to get married. This will not cause you any issues in applying for a H4 later. Additionally, you can apply for a fiancee visa ahead of time and get the fiancee visa issued or you can apply for a marriage visa once you are married. Furthermore, for marriage he can get permission from Immigration to travel under his H-1 visa to go back home to get married.
Thus, there are options for you to get married and eventually obtain your visa to come to the US to be with your husband.
I truly aim to please you as a customer, but please keep in mind that I do not know what you already know or don't know, or with what you need help, unless you tell me. Please consider that I am answering the question or question that is posed in your posting based upon my reading of your post and sometimes misunderstandings can occur. If I did not answer the question you thought you were asking, please respond with the specific question you wanted answered.
Kindly remember the ONLY WAY experts receive any credit at all for spending time with customers is if you click on OK, GOOD or EXCELLENT SERVICE even though you have made a deposit or are a subscription customer. YOU MUST COMPLETE THE RATING FOR THE EXPERT TO RECEIVE ANY CREDIT, if not the site keeps your money on deposit.
Also remember, sometimes the law does not support what we want it to support, but that is not the fault of the person answering the question, so please be courteous.