gpt4 book ai didi

html - HTML 中的图像对齐

转载 作者:行者123 更新时间:2023-11-28 09:09:04 26 4
gpt4 key购买 nike

我遇到了在 HTML 中将图像与分区对齐的问题。下面是代码。我想要分区右侧的图像,但我似乎无法得到它。

<h1><u><center>                Adolf Hitler </center></u></h1>
<br/>
<div style="height:1000px; width:500px;">
Adolf Hitler (20 April 1889 – 30 April 1945) was an Austrian-born German politician and the leader of the Nazi Party. He was chancellor of Germany from 1933 to 1945 and dictator of Nazi Germany (as Führer und Reichskanzler) from 1934 to 1945. Hitler was at the centre of Nazi Germany, World War II in Europe, and the Holocaust.

Hitler was a decorated veteran of World War I. He joined the German Workers' Party (precursor of the NSDAP) in 1919, and became leader of the NSDAP in 1921. In 1923, he attempted a coup in Munich to seize power. The failed coup resulted in Hitler's imprisonment, during which time he wrote his memoir, Mein Kampf (My Struggle). After his release in 1924, Hitler gained popular support by attacking the Treaty of Versailles and promoting Pan-Germanism, antisemitism, and anti-communism with charismatic oratory and Nazi propaganda. Hitler frequently denounced international capitalism and communism as being part of a Jewish conspiracy.

Hitler's Nazi Party became the largest elected party in the German Reichstag, leading to his appointment as chancellor in 1933. Following fresh elections won by his coalition, the Reichstag passed the Enabling Act, which began the process of transforming the Weimar Republic into the Third Reich, a single-party dictatorship based on the totalitarian and autocratic ideology of National Socialism. Hitler aimed to eliminate Jews from Germany and establish a New Order to counter what he saw as the injustice of the post-World War I international order dominated by Britain and France. His first six years in power resulted in rapid economic recovery from the Great Depression, the denunciation of restrictions imposed on Germany after World War I, and the annexation of territories that were home to millions of ethnic Germans, actions which gave him significant popular support.

Hitler actively sought Lebensraum ("living space") for the German people. His aggressive foreign policy is considered to be the primary cause of the outbreak of World War II in Europe. He directed large-scale rearmament and on 1 September 1939 invaded Poland, resulting in British and French declarations of war on Germany. In June 1941, Hitler ordered an invasion of the Soviet Union. By the end of 1941 German forces and their European allies occupied most of Europe and North Africa. Failure to defeat the Soviets and the entry of the United States into the war forced Germany onto the defensive and it suffered a series of escalating defeats. In the final days of the war, during the Battle of Berlin in 1945, Hitler married his long-time lover, Eva Braun. On 30 April 1945, less than two days later, the two committed suicide to avoid capture by the Red Army, and their corpses were burned. Under Hitler's leadership and racially motivated ideology, the regime was responsible for the genocide of at least 5.5 million Jews, and millions of other victims whom he and his followers deemed racially inferior.</div>
<div>
<img style="margin-bottom:600px; margin-top:0px;" src="/home/vishal/Pictures/hitler_retouched.jpg" align="right"></img>
</div>

最佳答案

尝试在 css 文件中使用它:

img
{
float:left;
}

关于html - HTML 中的图像对齐,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26564557/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com